Open charlesstaats opened 1 month ago
Example:
struct A {} var a = new A[]; alias(a, null);
gives an error, whereas
struct A {} A[] a = new A[]; alias(a, null);
does not give an error.
Expected behavior: var a = new A[]; should be syntactic sugar for A[] a = new A[];.
var a = new A[];
A[] a = new A[];
Example:
gives an error, whereas
does not give an error.
Expected behavior:
var a = new A[];
should be syntactic sugar forA[] a = new A[];
.