diff options
author | Nadrieril | 2020-02-20 18:54:58 +0000 |
---|---|---|
committer | Nadrieril | 2020-02-20 18:54:58 +0000 |
commit | 0e07c9cd012efaeae7e1c50a3499a13aef4d2b61 (patch) | |
tree | 03ccb36bbb8c4b5a4c3da203b82b593cce2b7699 /dhall/tests | |
parent | 86508a3ad59a0bfc1e24448d0a0126b1a1c645e1 (diff) |
Disallow Natural literals with leading zeros
Diffstat (limited to '')
-rw-r--r-- | dhall/tests/parser/failure/unit/NaturalLitLeadingZero.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dhall/tests/parser/failure/unit/NaturalLitLeadingZero.txt b/dhall/tests/parser/failure/unit/NaturalLitLeadingZero.txt new file mode 100644 index 0000000..07d9b5c --- /dev/null +++ b/dhall/tests/parser/failure/unit/NaturalLitLeadingZero.txt @@ -0,0 +1,6 @@ + --> 1:2 + | +1 | 042␊ + | ^--- + | + = expected EOI, import_alt, bool_or, natural_plus, text_append, list_append, bool_and, natural_times, bool_eq, bool_ne, combine, combine_types, equivalent, prefer, or arrow |