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

Commit6e93cc0

Browse files
committed
fix 2453
1 parent71a3609 commit6e93cc0

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

‎src/fsharp/NameResolution.fs‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -427,9 +427,12 @@ let private GetCSharpStyleIndexedExtensionMembersForTyconRef (amap:Import.Import
427427
| firstTy::_->
428428
match firstTywith
429429
| ILType.Boxed tspec| ILType.Value tspec->
430-
lettcref=(tspec|> rescopeILTypeSpec scoref).TypeRef|> Import.ImportILTypeRef amap m
431-
if isCompiledTupleTyconRef g tcref|| tyconRefEq g tcref g.fastFunc_tcrthen None
432-
else Some tcref
430+
lettref=(tspec|> rescopeILTypeSpec scoref).TypeRef
431+
if Import.CanImportILTypeRef amap m trefthen
432+
lettcref= tref|> Import.ImportILTypeRef amap m
433+
if isCompiledTupleTyconRef g tcref|| tyconRefEq g tcref g.fastFunc_tcrthen None
434+
else Some tcref
435+
else None
433436
|_-> None
434437
|_-> None
435438
|_->

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp