Calling super() from sub-sub-class leads to infinite loop #1417
Unanswered
espruino-discuss
asked this question in
JavaScript
Replies: 2 comments
-
Posted at 2020-07-27 by user115787 @op, this probably won't help you directly. I have done some reading about super lately. Here's a summary:
It looks like the call to super at line 7 may be resolving super as Object.prototypeOf(this) instead. https://2ality.com/2011/11/super-references.html HTH someone |
Beta Was this translation helpful? Give feedback.
0 replies
-
Posted at 2020-07-28 by @gfwilliams Hi - I'm afraid I think you've just hit this bug in Espruino:
Until it gets fixed there's a workaround mentioned there though |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2020-07-27 by coajaxial
Example:
Result:
Beta Was this translation helpful? Give feedback.
All reactions