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

Commit65f866a

Browse files
name resolution environment captures last ident range in long ident instead of full range
1 parentc0b044c commit65f866a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/fsharp/NameResolution.fs‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3174,13 +3174,13 @@ let private ResolveExprDotLongIdent (ncenv:NameResolver) m ad nenv typ lid findF
31743174
ForceRaise adhoctDotSearchAccessible
31753175

31763176
letComputeItemRange wholem(lid:Ident list)rest=
3177-
match restwith
3178-
|[]-> wholem
3179-
|_->
3177+
match rest, lidwith
3178+
|[],[]-> wholem
3179+
|_->
31803180
letids= List.take(max0(lid.Length- rest.Length)) lid
31813181
match idswith
31823182
|[]-> wholem
3183-
|_->rangeOfLid ids
3183+
|_->(List.last ids).idRange
31843184

31853185
/// Filters method groups that will be sent to Visual Studio IntelliSense
31863186
/// to include only static/instance members

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp