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
add tests, fix tests
  • Loading branch information
dsyme committed Apr 22, 2019
commit fabeb5d65dc73398d44f35e18e079ae7fff63ffe
25 changes: 21 additions & 4 deletions tests/fsharp/core/anon/lib.fs
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,27 @@ module QuotesFieldInitOrder =
W = (check "cwkencelwe7" x 3; x <- x + 1; 4) |}
|> check "ceweoiwe" {| Y=3; X=2; W=4 |}
x <- 1
{| Y = (check "clwknckl8" x 1; x <- x + 1; 2)
X = (check "clwknckl9" x 2; x <- x + 1; 3)
W = (check "cwkencelwe10" x 3; x <- x + 1; 4)
|} |> check "ceweoiwe" {| Y=2; X=3; W=4 |}
let a =
{| Y = (check "clwknckl8" x 1; x <- x + 1; 2)
X = (check "clwknckl9" x 2; x <- x + 1; 3)
W = (check "cwkencel10" x 3; x <- x + 1; 4)
|}
a |> check "ceweoiwe" {| Y=2; X=3; W=4 |}
x <- 1
let b =
{| a with
X = (check "clwknckl9" x 1; x <- x + 1; 6)
W = (check "cwkencel10" x 2; x <- x + 1; 7)
|}
b |> check "ceweoiwe87" {| Y=2; X=6; W=7 |}
x <- 1
let c =
{| a with
X = (check "clwknckl9" x 1; x <- x + 1; 6)
A = (check "cwkencel11" x 2; x <- x + 1; 8)
W = (check "cwkencel10" x 3; x <- x + 1; 7)
|}
c |> check "ceweoiwe87" {| Y=2; X=6; W=7; A=8 |}
test()


Expand Down