Skip to content

Commit cccb3da

Browse files
F# setter on Prop1 works, despite the getter is internal
1 parent b5e59d5 commit cccb3da

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • tests/fsharp/core/members/set-only-property

tests/fsharp/core/members/set-only-property/calls.fsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ type Maker =
88
// so long https://github.com/dotnet/fsharp/issues/8351 isn't fixed, Prop1 setters are failing
99
let a = csharp.Class(Prop1=1)
1010
let b = basic.BasicClass(Prop1=1)
11-
let c = fsharp.Class(Prop1=1)
11+
let c = fsharp.Class(Prop1=1) // this one works, inconsistent but correct.
1212

1313
let aa = Maker.mkCs(Prop1=1)
1414
let bb = Maker.mkVb(Prop1=1)
15-
let cc = Maker.mkFs(Prop1=1)
15+
let cc = Maker.mkFs(Prop1=1) // this one works, inconsistent but correct.
1616

1717
// those are expected to fail, albeit with inconsistent error messages / marked ranges
1818
let aaa = csharp.Class(Prop2=1)

0 commit comments

Comments
 (0)