diff options
author | Bad Diode <bd@badd10de.dev> | 2024-06-23 13:48:59 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2024-06-23 13:48:59 +0200 |
commit | b9397e53034b08dd9ffb69c94b5283dc46863d33 (patch) | |
tree | d474d8a1948cd2703631802e87d58473e6297df0 /tests/semantics.bad | |
parent | ec7936226a2e82b10bc1fdac132a1d26d178dbcd (diff) | |
download | bdl-b9397e53034b08dd9ffb69c94b5283dc46863d33.tar.gz bdl-b9397e53034b08dd9ffb69c94b5283dc46863d33.zip |
Start basic type checking/inference
Diffstat (limited to 'tests/semantics.bad')
-rw-r--r-- | tests/semantics.bad | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/semantics.bad b/tests/semantics.bad index c331ebc..ff024f7 100644 --- a/tests/semantics.bad +++ b/tests/semantics.bad | |||
@@ -1,4 +1,5 @@ | |||
1 | let a:u16 = (1 + 2 * 2) / 2 | 1 | ; let a:int = (1 + 2 * 2) / 2 |
2 | let a:f32 = (1.0 + 2.0 * 2.0) / 2.0 | ||
2 | ; enum test { | 3 | ; enum test { |
3 | ; a = 1 | 4 | ; a = 1 |
4 | ; b | 5 | ; b |