-
Notifications
You must be signed in to change notification settings - Fork 831
Closed
Labels
Area-Compiler-CheckingType checking, attributes and all aspects of logic checkingType checking, attributes and all aspects of logic checkingBugNeeds-TriageRegression
Milestone
Description
Repro steps
type D =
| A
| B
memberExpected behavior
No issues.
Actual behavior
internal error: GetInstanceMemberThisVariable: instance member did not have expected internal form
System.Exception: GetInstanceMemberThisVariable: instance member did not have expected internal form at
[email protected](Expr e) in C:\code\fsharp\src\Compiler\Checking\CheckExpressions.fs:line 3933 at
FSharp.Compiler.CheckExpressions.TcLetrecBinding(TcFileState cenv, TcEnv envRec, Range scopem, FSharpList`1 extraGeneralizableTypars, FSharpOption`1 reqdThisValTyOpt, TcEnv envNonRec, FSharpList`1 generalizedRecBinds, FSharpList`1 preGeneralizationRecBinds, UnscopedTyparEnv tpenv, FSharpMap`2 uncheckedRecBindsTable, PreCheckingRecursiveBinding rbind) in C:\code\fsharp\src\Compiler\Checking\CheckExpressions.fs:line 11665
....
Related information
Provide any related information (optional):
mainat f9e66b4
Metadata
Metadata
Assignees
Labels
Area-Compiler-CheckingType checking, attributes and all aspects of logic checkingType checking, attributes and all aspects of logic checkingBugNeeds-TriageRegression
Type
Projects
Status
Done