فهرست منبع

fixed ancestor

mattias 4 سال پیش
والد
کامیت
069b863bc5
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      compiler/utils/pas2js/dist/rtl.js

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

@@ -357,7 +357,7 @@ var rtl = {
       c.$ancestor = ancestor;
       // c.$ancestor === Object.getPrototypeOf(c)
     } else {
-      c = { $ancestor = null };
+      c = { $ancestor : null };
     };
     parent[name] = c;
     c.$class = c; // Note: o.$class === Object.getPrototypeOf(o)