Issue 32: Guard against constructors consuming unsized arrays.
This commit is contained in:
@@ -101,4 +101,6 @@ void foo3()
|
||||
resize2[5] = 4.0; // ERROR
|
||||
}
|
||||
|
||||
int[] i = int[](); // ERROR, need constructor arguments
|
||||
int[] i = int[](); // ERROR, need constructor arguments
|
||||
float emptyA[];
|
||||
float b = vec4(emptyA); // ERROR, array can't be a constructor argument
|
||||
|
||||
Reference in New Issue
Block a user