Ifdefs, moved semantic to check, fixed error reporting for builtins
This commit is contained in:
8
test/check/redeclared_variable.golden
Normal file
8
test/check/redeclared_variable.golden
Normal file
@@ -0,0 +1,8 @@
|
||||
[1;37mtest/redeclared_variable.ink:3,0: [31merror: [37mRedeclaration of 'x'
|
||||
[96m x : float = 5.0
|
||||
^
|
||||
|
||||
[97mtest/redeclared_variable.ink:2,0: info: Here is the first declaration of 'x'
|
||||
[96m x : float = 1.0
|
||||
^
|
||||
[36m[37m
|
||||
Reference in New Issue
Block a user