If you are using array initializers, the compiler crashes:
int[] test = {1, 2, 3};
The (empty) implementation part is currently commented in JsTransformer.VisitInitializerExpression(). The compiler completely crashes because the initializableObjectsStack is empty and peek throws an InvalidOperationException.
If you are using array initializers, the compiler crashes:
The (empty) implementation part is currently commented in
JsTransformer.VisitInitializerExpression()
. The compiler completely crashes because theinitializableObjectsStack
is empty and peek throws anInvalidOperationException
.