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

Commita9f9a33

Browse files
forkiKevinRansom
authored andcommitted
Do not deref in overload resolution if the type is not known -fixesdotnet#4825 (dotnet#4826)
1 parentb50ad9b commita9f9a33

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎src/fsharp/NicePrint.fs‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1299,8 +1299,11 @@ module InfoMemberPrinting =
12991299
else emptyL
13001300
letlayout=
13011301
layout^^
1302-
lettcref= minfo.ApparentEnclosingTyconRef
1303-
PrintTypes.layoutTyconRef denv tcref
1302+
if isAppTy minfo.TcGlobals minfo.ApparentEnclosingAppTypethen
1303+
lettcref= minfo.ApparentEnclosingTyconRef
1304+
PrintTypes.layoutTyconRef denv tcref
1305+
else
1306+
emptyL
13041307
letlayout=
13051308
layout^^
13061309
if minfo.IsConstructorthen

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp