Accessing the calling class instance method within the module #7605
Unanswered
espruino-discuss
asked this question in
Other Board General Questions
Replies: 1 comment
-
Posted at 2019-01-21 by @gfwilliams Interesting - thanks. I narrowed it down to a single-file example and filed a bug for this: |
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 2019-01-18 by fanThomas
I want to call a method of the calling class within a module. This worked fine in Version 2v00 of espruino. After updating to 2v01 I get an error with the same code.
This is the calling program:
And this is the module:
The output shows as follows:
It seems that the parameter for the constructor is not passed anymore in 2v01
Beta Was this translation helpful? Give feedback.
All reactions