소스 검색

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

Henrique Gottardi Werlang 1 년 전
부모
커밋
105fae6d48
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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()];