Issue #26: Detect empty array constructors, require at least on operand.

This commit is contained in:
John Kessenich
2015-07-21 14:35:39 -06:00
parent 222457054e
commit efb8461722
3 changed files with 12 additions and 2 deletions

View File

@@ -100,3 +100,5 @@ void foo3()
resize2.length();
resize2[5] = 4.0; // ERROR
}
int[] i = int[](); // ERROR, need constructor arguments