Ifdefs, moved semantic to check, fixed error reporting for builtins
This commit is contained in:
6
test/check/if_cond_assign.golden
Normal file
6
test/check/if_cond_assign.golden
Normal file
@@ -0,0 +1,6 @@
|
||||
[1;37mtest/if_cond_assign.ink:0,0: [31merror: [37mType of expression in if condition has to be bool.
|
||||
[96mif 0 = 100
|
||||
^^^^^^
|
||||
if 0 = 100 { has type int
|
||||
|
||||
[36m[37m
|
||||
Reference in New Issue
Block a user