Skip to content

Commit ed88b6a

Browse files
committed
Merge remote-tracking branch 'origin/master' into release
2 parents 1825de7 + 14ac21c commit ed88b6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5771,7 +5771,7 @@ export class Compiler extends DiagnosticEmitter {
57715771
),
57725772
Constraints.WILL_RETAIN
57735773
);
5774-
assert(this.skippedAutoreleases.has(theCall)); // guaranteed
5774+
assert(baseClassInstance.type.isUnmanaged || this.skippedAutoreleases.has(theCall)); // guaranteed
57755775
let stmts: ExpressionRef[] = [
57765776
module.local_set(thisLocal.index, theCall)
57775777
];

0 commit comments

Comments
 (0)