summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md1
m---------dhall-lang0
-rw-r--r--dhall/tests/parser/failure/unit/NaturalLitLeadingZero.txt6
3 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index a46859e..34878f4 100644
--- a/README.md
+++ b/README.md
@@ -161,6 +161,7 @@ same name as the corresponding test.
[???]
+- Disallow Natural literals with leading zeros
- Add support for duplicate record fields
- Update to supporting dhall v13.0.0
diff --git a/dhall-lang b/dhall-lang
-Subproject 3301f2e2a408d9e3953185c51c1a07c668db47b
+Subproject a1f2dc019907ec001f28abbd05ca397bddb0975
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