Open
Description
Repro steps
type C() =
member val Name = "" with get, set
let x = C(Name="123") //works
let y = C(Name=$"123") // doesn't work
let z = C(Name= $"123") // works
Expected behavior
All three cases should work
Actual behavior
Second case doesn't work
Known workarounds
Add space before value
Related information
.NET 8
F# 8
Metadata
Metadata
Assignees
Type
Projects
Status
New