Ionide-vscode-fsharp: Member signature missing arrow, looks like property

Created on 17 May 2018  路  7Comments  路  Source: ionide/ionide-vscode-fsharp

Hello,

Ionide version: 3.20.4

image

bug

All 7 comments

@priort, any ideas?

Damn, most likely from my change to make getter signatures the same as code lens
https://github.com/fsharp/FsAutoComplete/commit/c5c8e0d4766b6a5d1e6d62a1258fa3a148a8566e

This check here symbol.IsPropertyGetterMethod
that probably includes methods as well as properties - there is probably something else on the symbol that we can check instead.
I don't have FSAC on my machine at the moment but hopefully I'll get a chance on the weekend to check it out again and fix this.

I'm not totally sure yet if its related to my fix for this https://github.com/ionide/ionide-vscode-fsharp/issues/789

It seems fine on class members.
member-getter
Also the abstract member signature in the Interface itself seems fine:

abstract-member-signature

But I see the issue on abstract class members:
interface-member-impl

and interface member impls signatures:
interface-impl-sig

I'll have to debug in FSAC to investigate what's happening with abstract class member and impls of abstract members signatures.

on override __.Y() = 4, the IsPropertyGetterMethod on the symbol in fsac returns false
ispropgetteronoverride

ispropgetter-2
So it doesn't look like this issue is due to the IsPropertyGetterMethod check that I added.
I think its happening later on in the processing in FSAC. I'll investigate more tomorrow or in next day or so.

@klettier @Krzysztof-Cieslak
I fixed the issue on FSAC and put in a PR here https://github.com/fsharp/FsAutoComplete/pull/293
The PR has screenshots of the fix in action.

Released in 3.20.5

Cool, thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

isaacabraham picture isaacabraham  路  3Comments

sergey-tihon picture sergey-tihon  路  6Comments

vasily-kirichenko picture vasily-kirichenko  路  6Comments

landy picture landy  路  5Comments

sivabudh picture sivabudh  路  3Comments