Mattias Gaertner wrote 6 lines
On Thu, 12 Nov 2020 16:41:03 +0100
Ondrej Pokorny wrote:
> Before I dig deep into the problem, can I somehow show the debug
> information for pas2js to help you trace the error?
Can you create a stacktrace?
Here is the exception:
Project pas2js raised exception class 'EPas2JS' with message: Type "UnicodeString" cannot be published
In file
'C:\ENTWICKLUNG\FPC\pas2js\compiler\packages\pastojs\src\fppas2js.pp' at line 26258
Here is the stack trace:
#0 fpc_raiseexception(0xfb5, 0x599f94, 0x69b76b0) at seh32.inc:86 #1 TPASTOJSCONVERTER__DOERROR(20170409173329, 4021, 0x599f94 'Type "%s" cannot be publi'..., {}, 0x219ad8, 0, <error reading variable>) at C:\ENTWICKLUNG\FPC\pas2js\compiler\packages\pastojs\src\fppas2js.pp:26258 #2 TPASTOJSCONVERTER__GETTYPEINFONAME(0x1e8d58, 0x69a0258, 0x219ad8, false, <error reading variable>, 0x0) at
C:\ENTWICKLUNG\FPC\pas2js\compiler\packages\pastojs\src\fppas2js.pp:26632 #3 TPASTOJSCONVERTER__CREATETYPEINFOREF(0x1e8d58, 0x69a0258, 0x219ad8, <error reading variable>) at
C:\ENTWICKLUNG\FPC\pas2js\compiler\packages\pastojs\src\fppas2js.pp:19373 #4 TPASTOJSCONVERTER__CREATERTTIMEMBERFIELD(0x5eb1960, 11, 0x69a0258, <error reading variable>) at
C:\ENTWICKLUNG\FPC\pas2js\compiler\packages\pastojs\src\fppas2js.pp:19679 #5 TPASTOJSCONVERTER__CREATERTTIMEMBERS(0x5e9cf68, 0x6a92250, 0x69a0258, 0x6a92250, 0x69a0258, 0x6abf4d8, false, <error reading variable>) at C:\ENTWICKLUNG\FPC\pas2js\compiler\packages\pastojs\src\fppas2js.pp:20097 #6 TPASTOJSCONVERTER__CREATERECORDRTTI(0x5e9cf68, 0x6a92250, 0x69a0258, 0x6a92250, 0x69a0258, <error reading variable>) at C:\ENTWICKLUNG\FPC\pas2js\compiler\packages\pastojs\src\fppas2js.pp:17936 #7 TPASTOJSCONVERTER__CONVERTRECORDTYPE(0x5e9cf68, 0x6a025f8, <error reading variable>) at
C:\ENTWICKLUNG\FPC\pas2js\compiler\packages\pastojs\src\fppas2js.pp:26206 #8 TPASTOJSCONVERTER__CREATETYPEDECL(0x5e9cf68, 0x6a025f8, <error reading variable>) at
C:\ENTWICKLUNG\FPC\pas2js\compiler\packages\pastojs\src\fppas2js.pp:14703 #9 TPASTOJSCONVERTER__CONVERTDECLARATIONS(0x1d84b8, 0x6a025f8, <error reading variable>) at
C:\ENTWICKLUNG\FPC\pas2js\compiler\packages\pastojs\src\fppas2js.pp:15151 #10 TPASTOJSCONVERTER__CONVERTMODULE(0x1e1380, 0x6a6a2a0, <error reading variable>) at
C:\ENTWICKLUNG\FPC\pas2js\compiler\packages\pastojs\src\fppas2js.pp:8037 #11 TPASTOJSCONVERTER__CONVERTELEMENT(0x1e1380, 0x6a6a2a0, <error reading variable>) at
C:\ENTWICKLUNG\FPC\pas2js\compiler\packages\pastojs\src\fppas2js.pp:25979 #12 TPASTOJSCONVERTER__CONVERTPASELEMENT(0x1e1380, 0x199410, <error reading variable>) at
C:\ENTWICKLUNG\FPC\pas2js\compiler\packages\pastojs\src\fppas2js.pp:26799 #13 TPAS2JSCOMPILERFILE__CREATEJS(<error reading variable>) at C:\ENTWICKLUNG\FPC\pas2js\compiler\packages\pastojs\src\pas2jscompiler.pp:1548 #14 TPAS2JSCOMPILER__CREATEJAVASCRIPT(0x1d7808, 0x6a421a8, <error reading variable>) at
C:\ENTWICKLUNG\FPC\pas2js\compiler\packages\pastojs\src\pas2jscompiler.pp:2277 #15 CHECKUSESCLAUSE(0x190410, 0x1dffcdc) at
C:\ENTWICKLUNG\FPC\pas2js\compiler\packages\pastojs\src\pas2jscompiler.pp:2253 #16 TPAS2JSCOMPILER__CREATEJAVASCRIPT(0x1d76b8, 0x6a421a8, <error reading variable>) at
C:\ENTWICKLUNG\FPC\pas2js\compiler\packages\pastojs\src\pas2jscompiler.pp:2274 #17 TPAS2JSCOMPILER__COMPILE(44147.758701053244, <error reading variable>) at
C:\ENTWICKLUNG\FPC\pas2js\compiler\packages\pastojs\src\pas2jscompiler.pp:2042 #18 TPAS2JSCOMPILER__RUN(0x1df6cc 'c:\ENTWICKLUNG\FPC\pas2js'..., 0x1e77e4 'c:\ENTWICKLUNG\A\util'..., 0x213238, true, <error reading variable>) at
C:\ENTWICKLUNG\FPC\pas2js\compiler\packages\pastojs\src\pas2jscompiler.pp:4551 #19 TPAS2JSCLI__DORUN(<error reading variable>) at pas2js.pp:45 #20 CUSTAPP$_$TCUSTOMAPPLICATION_$__$$_RUN at :0
#21 :85
Ondrej