-
Notifications
You must be signed in to change notification settings - Fork 833
Closed
Labels
Area-FSIBugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.(Internal MS Team use only) Describes an issue with limited impact on existing code.
Milestone
Description
[<Struct>]
type RecordA = { Value : double }
[<Struct>]
type RecordB = { A : RecordA }
{ A = { Value = 0.0 } }In fsi produces the error:
error FS0193: internal error: Could not load type 'FSI_0004' from assembly 'FSI-ASSEMBLY, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
Tested both
- F# Interactive version 11.0.0.0 for F# 5.0
- F# Interactive version 10.9.1.0 for F# 4.7
Some other notes:
- With fsc, the fsx file compiles and runs fine
- If either record is not a struct it runs fine
- It can be run in pieces. Definitions first, then record ctor and it runs fine.
Metadata
Metadata
Assignees
Labels
Area-FSIBugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.(Internal MS Team use only) Describes an issue with limited impact on existing code.