From c30c3d7fba51ddfbc327e8e67ee22f2cafe5ec9f Mon Sep 17 00:00:00 2001 From: mattias Date: Wed, 24 Mar 2021 10:19:02 +0000 Subject: [PATCH] pastojs: filer: fixed writing class destructor --- compiler/packages/pastojs/src/pas2jsfiler.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/packages/pastojs/src/pas2jsfiler.pp b/compiler/packages/pastojs/src/pas2jsfiler.pp index f847ec0..f4ec0c7 100644 --- a/compiler/packages/pastojs/src/pas2jsfiler.pp +++ b/compiler/packages/pastojs/src/pas2jsfiler.pp @@ -3803,7 +3803,7 @@ begin else if C=TPasDestructor then Obj.Add('Type','Destructor') else if C=TPasClassDestructor then - Obj.Add('Type','Class Destructor') + Obj.Add('Type','ClassDestructor') else if C=TPasAnonymousProcedure then Obj.Add('Type','AnonymousProcedure') else if C=TPasAnonymousFunction then