mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 22:07:56 +02:00
Fix for locating the exception type when compiling with the units with namespace.
This commit is contained in:
parent
dbc3d6b98f
commit
105fae6d48
1
utils/pas2js/dist/rtl.js
vendored
1
utils/pas2js/dist/rtl.js
vendored
@ -527,6 +527,7 @@ var rtl = {
|
||||
if (t==null){
|
||||
var mod = pas.SysUtils;
|
||||
if (!mod) mod = pas.sysutils;
|
||||
if (!mod) mod = pas["System.SysUtils"];
|
||||
if (mod){
|
||||
t = mod[typename];
|
||||
if (!t) t = mod[typename.toLowerCase()];
|
||||
|
Loading…
Reference in New Issue
Block a user