diff options
author | Nadrieril | 2020-09-14 23:09:22 +0100 |
---|---|---|
committer | Nadrieril | 2020-09-14 23:19:49 +0100 |
commit | 7e523ae1903ae2d8bca8b3a8352167d7bac5b2b5 (patch) | |
tree | 37e53f88a0d3aa0621e021f307bfcfe4b0c8e29b /dhall/tests/parser/success/unit | |
parent | ffb7cff2ff317c81248a680e4899fa45eed00daa (diff) |
spec: Enable `with` optimizations
Diffstat (limited to 'dhall/tests/parser/success/unit')
5 files changed, 5 insertions, 5 deletions
diff --git a/dhall/tests/parser/success/unit/WithB.txt b/dhall/tests/parser/success/unit/WithB.txt index 74f42a2..555eb50 100644 --- a/dhall/tests/parser/success/unit/WithB.txt +++ b/dhall/tests/parser/success/unit/WithB.txt @@ -1 +1 @@ -{ a = 1 } ⫽ { a = 2 } +{ a = 1 } with a = 2 diff --git a/dhall/tests/parser/success/unit/WithMultipleB.txt b/dhall/tests/parser/success/unit/WithMultipleB.txt index 76782a5..dbc5bb3 100644 --- a/dhall/tests/parser/success/unit/WithMultipleB.txt +++ b/dhall/tests/parser/success/unit/WithMultipleB.txt @@ -1 +1 @@ -{ a = { b = 1 }, c = { d = 2 } } ⫽ { a = { a = { b = 1 }, c = { d = 2 } }.a ⫽ { b = 3 } } ⫽ { c = ({ a = { b = 1 }, c = { d = 2 } } ⫽ { a = { a = { b = 1 }, c = { d = 2 } }.a ⫽ { b = 3 } }).c ⫽ { e = 4 } } +{ a = { b = 1 }, c = { d = 2 } } with a.b = 3 with c.e = 4 diff --git a/dhall/tests/parser/success/unit/WithPrecedence1B.txt b/dhall/tests/parser/success/unit/WithPrecedence1B.txt index 5f22335..2509dba 100644 --- a/dhall/tests/parser/success/unit/WithPrecedence1B.txt +++ b/dhall/tests/parser/success/unit/WithPrecedence1B.txt @@ -1 +1 @@ -{ a = Some 1 } ⫽ { a = Some 2 } ⫽ { a = Some 3 } +{ a = Some 1 } with a = Some 2 with a = Some 3 diff --git a/dhall/tests/parser/success/unit/WithPrecedence2B.txt b/dhall/tests/parser/success/unit/WithPrecedence2B.txt index f945cc9..02df511 100644 --- a/dhall/tests/parser/success/unit/WithPrecedence2B.txt +++ b/dhall/tests/parser/success/unit/WithPrecedence2B.txt @@ -1 +1 @@ -{ x = 0 } ⫽ { x = 1 + 1 } +{ x = 0 } with x = 1 + 1 diff --git a/dhall/tests/parser/success/unit/WithPrecedence3B.txt b/dhall/tests/parser/success/unit/WithPrecedence3B.txt index a801b24..544b4d1 100644 --- a/dhall/tests/parser/success/unit/WithPrecedence3B.txt +++ b/dhall/tests/parser/success/unit/WithPrecedence3B.txt @@ -1 +1 @@ -foo::{ x = 0 } ⫽ { x = 1 } +foo::{ x = 0 } with x = 1 |