Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workaround wrong FCS symbols for optional method parameter declarations
- Loading branch information
1 parent
5760cad
commit cd9b0b4
Showing
13 changed files
with
67 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...arp/test/data/features/daemon/identifierHighlighting/Method - Parameters - Optional 01.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
type T() = | ||
static member M1(?a) = () |
7 changes: 7 additions & 0 deletions
7
...est/data/features/daemon/identifierHighlighting/Method - Parameters - Optional 01.fs.gold
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
type |T|(0)() = | ||
static member |M1|(1)(?|a|(2)) = () | ||
|
||
--------------------------------------------------------- | ||
(0): ReSharper F# Class Identifier: | ||
(1): ReSharper F# Method Identifier: | ||
(2): ReSharper F# Value Identifier: |
2 changes: 2 additions & 0 deletions
2
...ata/features/daemon/identifierHighlighting/Method - Parameters - Optional 02 - Private.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
type T() = | ||
static member private M1(?a) = () |
7 changes: 7 additions & 0 deletions
7
...eatures/daemon/identifierHighlighting/Method - Parameters - Optional 02 - Private.fs.gold
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
type |T|(0)() = | ||
static member private |M1|(1)(?|a|(2)) = () | ||
|
||
--------------------------------------------------------- | ||
(0): ReSharper F# Class Identifier: | ||
(1): ReSharper F# Method Identifier: | ||
(2): ReSharper F# Value Identifier: |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
...p/test/data/parsing/Type member - Member - Method - Parameters - Optional 03 - Private.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
type T = | ||
static member private M(?a) = () |
39 changes: 39 additions & 0 deletions
39
...t/data/parsing/Type member - Member - Method - Parameters - Optional 03 - Private.fs.gold
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
Language: PsiLanguageType:F# | ||
IFSharpImplFile | ||
IAnonModuleDeclaration | ||
ITypeDeclarationGroup | ||
FSharpTokenType+TypeTokenElement(type:TYPE, text:type) | ||
Whitespace(type:WHITE_SPACE, text: ) spaces:" " | ||
IFSharpTypeDeclaration | ||
FSharpIdentifierToken(type:IDENTIFIER, text:T) | ||
Whitespace(type:WHITE_SPACE, text: ) spaces:" " | ||
FSharpTokenType+EqualsTokenElement(type:EQUALS, text:=) | ||
NewLine(type:NEW_LINE, text:\n) spaces:"\n" | ||
Whitespace(type:WHITE_SPACE, text: ) spaces:" " | ||
ITypeMemberDeclarationList | ||
IMemberDeclaration | ||
FSharpTokenType+StaticTokenElement(type:STATIC, text:static) | ||
Whitespace(type:WHITE_SPACE, text: ) spaces:" " | ||
FSharpTokenType+MemberTokenElement(type:MEMBER, text:member) | ||
Whitespace(type:WHITE_SPACE, text: ) spaces:" " | ||
FSharpTokenType+PrivateTokenElement(type:PRIVATE, text:private) | ||
Whitespace(type:WHITE_SPACE, text: ) spaces:" " | ||
FSharpIdentifierToken(type:IDENTIFIER, text:M) | ||
IParametersPatternDeclaration | ||
IParenPat | ||
FSharpTokenType+LparenTokenElement(type:LPAREN, text:() | ||
IOptionalValPat | ||
FSharpTokenType+QmarkTokenElement(type:QMARK, text:?) | ||
ILocalReferencePat | ||
IExpressionReferenceName | ||
FSharpIdentifierToken(type:IDENTIFIER, text:a) | ||
FSharpTokenType+RparenTokenElement(type:RPAREN, text:)) | ||
Whitespace(type:WHITE_SPACE, text: ) spaces:" " | ||
FSharpTokenType+EqualsTokenElement(type:EQUALS, text:=) | ||
Whitespace(type:WHITE_SPACE, text: ) spaces:" " | ||
IChameleonExpression | ||
IUnitExpr | ||
FSharpTokenType+LparenTokenElement(type:LPAREN, text:() | ||
FSharpTokenType+RparenTokenElement(type:RPAREN, text:)) | ||
NewLine(type:NEW_LINE, text:\n) spaces:"\n" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters