aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2024-06-23 10:54:21 +0200
committerBad Diode <bd@badd10de.dev>2024-06-23 10:54:21 +0200
commitec7936226a2e82b10bc1fdac132a1d26d178dbcd (patch)
tree7b0ed4cf889992bcb5def1df18b062159a9ee69b /tests
parent8931a6f22b9586c62082c525ec8b6de62c7de5d5 (diff)
downloadbdl-ec7936226a2e82b10bc1fdac132a1d26d178dbcd.tar.gz
bdl-ec7936226a2e82b10bc1fdac132a1d26d178dbcd.zip
Add constrain to let parsing either type or value must be present
Diffstat (limited to 'tests')
-rw-r--r--tests/variables.bad2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/variables.bad b/tests/variables.bad
index 990685f..bb449f6 100644
--- a/tests/variables.bad
+++ b/tests/variables.bad
@@ -1,6 +1,6 @@
1; Basic variable declaration with and without default values. The type could be 1; Basic variable declaration with and without default values. The type could be
2; inferred, but can also be manually specified. 2; inferred, but can also be manually specified.
3let a 3let a: str
4let b: f64 4let b: f64
5let c:u64 = 20 5let c:u64 = 20
6 6