Replies: 4 comments 4 replies
-
I found a workaround. I'm not sure if it's the correct way to accomplish this, but, it works. I had to create an overridden function with the same name within the inherited class. I call the base class using 'super' within the inherited class. I had assumed that the inherited class had the same access to the base class functions. By that, I mean I assumed that I could call the base class inherited function without having to define a "dummy" function in the inherited class. |
Beta Was this translation helpful? Give feedback.
-
Yeah that's what I was asking. I'm off work for a few weeks because we just had a baby, and I have a ton on my plate with some higher priority community initiatives, so I don't think we'll have time to fix this issue for a while. If you get a chance to fix it, I'd be happy to review the PR and cut a release. Otherwise I think you'll have to keep using the workaround for now. |
Beta Was this translation helpful? Give feedback.
-
This will be fixed in v0.66 |
Beta Was this translation helpful? Give feedback.
-
Any time frame on when this will be available? |
Beta Was this translation helpful? Give feedback.
-
How do you call a base class function from an inherited class? The function is not overridden. I've tried using the following:
super.<function name>
but, I get the following:
Exception has occurred. Member function not found in BrightScript Component or interface.
Beta Was this translation helpful? Give feedback.
All reactions