Missing files in <script/> tags lead to broken scope #579
Labels
bug
Any difference between this BrightScript implementation and RBI, or otherwise unexpected behavior
parser
Affects this project's token parser
scenegraph
Affects this project's implementation of the SceneGraph framework
An XML component definition with a missing file (including an incorrectly-cased filename on case-sensitive filesystems) results in a component scope that's basically empty — even if the missing file appears after ones that do exist.
Even if
source/Utils.brs
exists, the absense ofFoo.brs
will lead to the following error message:WARNING: "onBarChanged" was not found in scope
That error message isn't very helpful, so let's fix that while we're in the neighborhood 😃
The text was updated successfully, but these errors were encountered: