summaryrefslogtreecommitdiff
path: root/packages/pastojs/tests/tcfiler.pas
diff options
context:
space:
mode:
authormattias <mattias@3ad0048d-3df7-0310-abae-a5850022a9f2>2019-06-20 20:38:53 +0000
committermattias <mattias@3ad0048d-3df7-0310-abae-a5850022a9f2>2019-06-20 20:38:53 +0000
commit617d7429dc0750b9664d5e38270189c78d2c2a69 (patch)
tree2423ea24af4f5888a47d9d521930fa072f65f72d /packages/pastojs/tests/tcfiler.pas
parent754a9168ff60fc59322032d21d4ca127ec4b27cd (diff)
downloadfpc-617d7429dc0750b9664d5e38270189c78d2c2a69.tar.gz
pastojs: fixed pas2jsfiler
git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42258 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/pastojs/tests/tcfiler.pas')
-rw-r--r--packages/pastojs/tests/tcfiler.pas3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/pastojs/tests/tcfiler.pas b/packages/pastojs/tests/tcfiler.pas
index 464b2608b2..491a2f62c9 100644
--- a/packages/pastojs/tests/tcfiler.pas
+++ b/packages/pastojs/tests/tcfiler.pas
@@ -1358,7 +1358,8 @@ end;
procedure TCustomTestPrecompile.CheckRestoredInlineSpecializedExpr(
const Path: string; Orig, Rest: TInlineSpecializeExpr);
begin
- CheckRestoredElOrRef(Path+'.DestType',Orig,Orig.DestType,Rest,Rest.DestType);
+ CheckRestoredElement(Path+'.NameExpr',Orig.NameExpr,Rest.NameExpr);
+ CheckRestoredElementList(Path+'.Params',Orig.Params,Rest.Params);
end;
procedure TCustomTestPrecompile.CheckRestoredRangeType(const Path: string;