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

Commitc693d8c

Browse files
committed
revert proper colorization for intrinsic types
1 parentfeaf552 commitc693d8c

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
@@ -1140,7 +1140,7 @@ type TypeCheckInfo
11401140
items
11411141

11421142

1143-
//static let keywordTypes = Lexhelp.Keywords.keywordTypes
1143+
static letkeywordTypes= Lexhelp.Keywords.keywordTypes
11441144

11451145
memberx.IsRelativeNameResolvable(cursorPos:pos,plid:string list,item:Item):bool=
11461146
/// Determines if a long ident is resolvable at a specific point.
@@ -1483,8 +1483,8 @@ type TypeCheckInfo
14831483
| CNR(_,(Item.CustomBuilder_| Item.CustomOperation_), ItemOccurence.Use,_,_,_, m)->
14841484
Some(m, SemanticClassificationType.ComputationExpression)
14851485
// well known type aliases get colored as keywords
1486-
//| CNR(_, (Item.Types (n, _)), _, _, _, _, m) when keywordTypes.Contains(n) ->
1487-
// Some (m, SemanticClassificationType.IntrinsicType)
1486+
| CNR(_,(Item.Types(n,_)),_,_,_,_, m)when keywordTypes.Contains(n)->
1487+
Some(m, SemanticClassificationType.IntrinsicType)
14881488
// types get colored as types when they occur in syntactic types or custom attributes
14891489
// typevariables get colored as types when they occur in syntactic types custom builders, custom operations get colored as keywords
14901490
| CNR(_, Item.Types(_,[OptionalArgumentAttribute]), LegitTypeOccurence,_,_,_,_)-> None

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp