This commit is contained in:
dcode
2019-03-13 22:35:47 +01:00
parent 6f70826e45
commit e38f627c8b
10 changed files with 326 additions and 276 deletions

View File

@ -6602,7 +6602,7 @@ export class Compiler extends DiagnosticEmitter {
}
// make a static array if possible
if (isStatic) return this.ensureStaticArray(elementType, constantValues);
// if (isStatic) return this.ensureStaticArray(elementType, constantValues); // TODO
// otherwise obtain the array type
var arrayPrototype = assert(this.program.arrayPrototype);