Issue #26: Detect empty array constructors, require at least on operand.
This commit is contained in:
@@ -100,3 +100,5 @@ void foo3()
|
||||
resize2.length();
|
||||
resize2[5] = 4.0; // ERROR
|
||||
}
|
||||
|
||||
int[] i = int[](); // ERROR, need constructor arguments
|
||||
|
||||
Reference in New Issue
Block a user