We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3005c64 commit cd6f9f4Copy full SHA for cd6f9f4
src/compiler.ts
@@ -9019,7 +9019,8 @@ export class Compiler extends DiagnosticEmitter {
9019
}
9020
case ElementKind.PROPERTY: {
9021
let propertyInstance = <Property>target;
9022
- let getterInstance = assert(propertyInstance.getterInstance);
+ let getterInstance = propertyInstance.getterInstance;
9023
+ if (!getterInstance) return module.unreachable(); // failed earlier
9024
let thisArg: ExpressionRef = 0;
9025
if (getterInstance.is(CommonFlags.INSTANCE)) {
9026
thisArg = this.compileExpression(
0 commit comments