diff options
author | Bad Diode <bd@badd10de.dev> | 2024-06-23 10:54:21 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2024-06-23 10:54:21 +0200 |
commit | ec7936226a2e82b10bc1fdac132a1d26d178dbcd (patch) | |
tree | 7b0ed4cf889992bcb5def1df18b062159a9ee69b /tests | |
parent | 8931a6f22b9586c62082c525ec8b6de62c7de5d5 (diff) | |
download | bdl-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.bad | 2 |
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. |
3 | let a | 3 | let a: str |
4 | let b: f64 | 4 | let b: f64 |
5 | let c:u64 = 20 | 5 | let c:u64 = 20 |
6 | 6 | ||