From ec7936226a2e82b10bc1fdac132a1d26d178dbcd Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Sun, 23 Jun 2024 10:54:21 +0200 Subject: Add constrain to let parsing either type or value must be present --- tests/variables.bad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 @@ ; Basic variable declaration with and without default values. The type could be ; inferred, but can also be manually specified. -let a +let a: str let b: f64 let c:u64 = 20 -- cgit v1.2.1