Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit838a686

Browse files
vasily-kirichenkoKevinRansom
authored andcommitted
fix range operator coloring (#2681)
1 parentdee6d13 commit838a686

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/fsharp/vs/service.fs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1544,7 +1544,8 @@ type TypeCheckInfo
15441544
| CNR(_, Item.Value KeywordIntrinsicValue, ItemOccurence.Use,_,_,_, m)->
15451545
Some(m, SemanticClassificationType.IntrinsicFunction)
15461546
| CNR(_,(Item.Value vref),_,_,_,_, m)when isFunction g vref.Type->
1547-
if vref.IsPropertyGetterMethod|| vref.IsPropertySetterMethodthen
1547+
if vref.DisplayName="( .. )"then None// the range operator
1548+
elif vref.IsPropertyGetterMethod|| vref.IsPropertySetterMethodthen
15481549
Some(m, SemanticClassificationType.Property)
15491550
elif IsOperatorName vref.DisplayNamethen
15501551
Some(m, SemanticClassificationType.Operator)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp