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

Commit1ef21cb

Browse files
committed
fix operator colorization again
1 parentfc93e3a commit1ef21cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/fsharp/vs/service.fs‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1472,9 +1472,9 @@ type TypeCheckInfo
14721472
| CNR(_,(Item.Value vref),_,_,_,_, m)when isFunction g vref.Type->
14731473
if vref.IsPropertyGetterMethod|| vref.IsPropertySetterMethodthen
14741474
Some(m, SemanticClassificationType.Property)
1475-
elifnot(IsOperatorName vref.DisplayName)then
1476-
Some(m, SemanticClassificationType.Function)
1477-
elseNone
1475+
elif IsOperatorName vref.DisplayNamethen
1476+
Some(m, SemanticClassificationType.Operator)
1477+
elseSome(m, SemanticClassificationType.Function)
14781478
| CNR(_, Item.RecdField rfinfo,_,_,_,_, m)when rfinfo.RecdField.IsMutable&& rfinfo.LiteralValue.IsNone->
14791479
Some(m, SemanticClassificationType.MutableVar)
14801480
| CNR(_, Item.MethodGroup(_,_,_),_,_,_,_, m)->

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp