rokucommunity / brighterscript

A superset of Roku's BrightScript language
MIT License
160 stars 46 forks source link

Cannot read property "shift" of undefined #71

Open TwitchBronBron opened 4 years ago

TwitchBronBron commented 4 years ago

https://github.com/georgejecook/MList

typeError: Cannot read property 'shift' of undefined at XmlFile. (/home//hope/open-source/MList/node_modules/brightscript-language/src/files/XmlFile.ts:219:58) at step (/home//hope/open-source/MList/node_modules/brightscript-language/dist/files/XmlFile.js:43:23) at Object.next (/home//hope/open-source/MList/node_modules/brightscript-language/dist/files/XmlFile.js:24:53) at fulfilled (/home//hope/open-source/MList/node_modules/brightscript-language/dist/files/XmlFile.js:15:58) at TypeError: Cannot read property 'shift' of undefined at XmlFile. (/home//hope/open-source/MList/node_modules/brightscript-language/src/files/XmlFile.ts:219:58) at step (/home//hope/open-source/MList/node_modules/brightscript-language/dist/files/XmlFile.js:43:23) at Object.next (/home//hope/open-source/MList/node_modules/brightscript-language/dist/files/XmlFile.js:24:53) at fulfilled (/home//hope/open-source/MList/node_modules/brightscript-language/dist/files/XmlFile.js:15:58)

TwitchBronBron commented 4 years ago

This is probably related to the autoIncludeComponentScript property, since that thing doesn't set a valid range.