sjbarag / brs

An interpreter for the BrightScript language that runs on non-Roku platforms.
MIT License
114 stars 43 forks source link

Support `alias` for XML fields #666

Open lkipke opened 3 years ago

lkipke commented 3 years ago

Brightscript has the alias keyword for exposing child fields in a parent component's interface:

alias allows a top-level component field to be declared as an alias of a field in one of the component child nodes

This is currently not supported in brs, and can cause the tests to crash when it encounters a field declared this way.