rokucommunity / brighterscript

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

Don't allow optional chaining on left of assignment #771

Closed TwitchBronBron closed 6 months ago

TwitchBronBron commented 1 year ago

This is not valid syntax on the device, but brighterscript does not catch it. We need to catch it.

alpha?.beta?.charlie = true
TwitchBronBron commented 6 months ago

Fixed in https://github.com/rokucommunity/brighterscript/pull/782