Quellcode durchsuchen

Fix for locating the exception type when compiling with the units with namespace.

Henrique Gottardi Werlang vor 1 Jahr
Ursprung
Commit
105fae6d48
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      utils/pas2js/dist/rtl.js

+ 1 - 0
utils/pas2js/dist/rtl.js

@@ -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()];