mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-06 02:27:48 +02:00
fixed ancestor
This commit is contained in:
parent
ff02110d4b
commit
069b863bc5
2
compiler/utils/pas2js/dist/rtl.js
vendored
2
compiler/utils/pas2js/dist/rtl.js
vendored
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user