rokucommunity / brighterscript

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

Fix bug in range and position caching #1126

Closed fumer-fubotv closed 5 months ago

fumer-fubotv commented 5 months ago

Fixes an issue in util.createRange() and util.createPosition() where integers over 13 bits long would sometimes generate an incorrect cache key (thus returning the wrong cached value and wrong position/range values).