sjbarag / brs

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

node.findNode("") should return invalid #523

Closed lkipke closed 4 years ago

lkipke commented 4 years ago

Summary

node.findNode("") should always return invalid for empty strings. For example:

On a roku device:

m.top.id = ""
print m.top.findNode("") ' => invalid

In brs:

m.top.id = ""
print m.top.findNode("") '=> value of m.top