We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67b7882 commit 1558a7aCopy full SHA for 1558a7a
src/lib/compiler.ts
@@ -7259,7 +7259,11 @@ declare type AssetFreezeTxn = Required<AssetFreezeParams>;
7259
this.processNode(e);
7260
this.pushVoid(e, `itxn_field ${capitalizeFirstChar(key)}Pages`);
7261
});
7262
- } else if (key === 'approvalProgram' && init?.isKind(ts.SyntaxKind.CallExpression)) {
+ } else if (
7263
+ key === 'approvalProgram' &&
7264
+ init?.getText().endsWith('.approvalProgramPages()') &&
7265
+ init?.isKind(ts.SyntaxKind.CallExpression)
7266
+ ) {
7267
this.processNode(init);
7268
} else if (key === 'onCompletion') {
7269
if (!p.isKind(ts.SyntaxKind.PropertyAssignment) || !init?.isKind(ts.SyntaxKind.PropertyAccessExpression)) {
0 commit comments