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

Commit9885bfd

Browse files
committed
Add a comment
1 parent9723be6 commit9885bfd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/fsharp/PatternMatchCompilation.fs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ let RefuteDiscrimSet g m path discrims =
258258
| Some c->
259259
match tryDestAppTy g tywith
260260
| Some tcrefwhen tcref.IsEnumTycon->
261+
// We must distinguish between F#-defined enums and other .NET enums, as they are represented differently in the TAST
261262
letenumValues=
262263
if tcref.IsILEnumTyconthen
263264
let(TILObjectReprData(_,_,tdef))= tcref.ILTyconInfo

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp