Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix
  • Loading branch information
T-Gro committed Jul 12, 2023
commit e640ee447a2920d78315149254c05a5fdcd30a4b
10 changes: 0 additions & 10 deletions tests/FSharp.Compiler.ComponentTests/Language/RegressionTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,3 @@ type TestItemSeq =
|> compile
|> withErrorCodes [39]
|> ignore


[<Fact>]
let ``Member val regression - not allowed without primary constructor`` () =
Fs """module Test
type Bad3 =
member val X = 1 + 1 """
|> typecheck
|> shouldFail
|> withDiagnostics []