Fix lvalue/rvalue binaries. Fix structured buffer output.
This commit is contained in:
4
test/check/for_index_outside.golden
Normal file
4
test/check/for_index_outside.golden
Normal file
@@ -0,0 +1,4 @@
|
||||
[1;37mtest/for_index_outside.ink:6,0: [31merror: [37mUse of undeclared symbol 'i'
|
||||
[96m i += 1;
|
||||
^
|
||||
[36m[37m
|
||||
8
test/check/rvalue_binary.golden
Normal file
8
test/check/rvalue_binary.golden
Normal file
@@ -0,0 +1,8 @@
|
||||
scope (global) [
|
||||
[vertex__vs_main] : ()
|
||||
scope (vertex__vs_main) [
|
||||
[b] : float2
|
||||
[x] : float
|
||||
[a] : float2
|
||||
]
|
||||
]
|
||||
6
test/check/temp_access.golden
Normal file
6
test/check/temp_access.golden
Normal file
@@ -0,0 +1,6 @@
|
||||
[1;37mtest/temp_access.ink:5,10: [31merror: [37mCannot assign to an lvalue.
|
||||
[96m (a + b).x = 2.0;
|
||||
^^^^^^^^^^^
|
||||
|
||||
|
||||
[36m[37m
|
||||
Reference in New Issue
Block a user