richardhundt / shine

A Shiny Lua Dialect
Other
231 stars 18 forks source link

Ranges behaving weirdly after commit 8d84f7d #43

Closed shortweekend closed 10 years ago

shortweekend commented 10 years ago

[".."] = { 12, 'R' }, was accidentally removed from src/lang/tree.lua on line 479 in commit 8d84f7deb360bdbc0bfde3f4b58d587771f2d3de making Ranges act weirdly:

nyanga> print 1..10
1

When [".."] = { 12, 'R' }, is added back:

nyanga> print 1..10
Range[1..10]

You get the expected behavior.

Thanks

richardhundt commented 10 years ago

On 3/26/14 8:48 AM, shortweekend wrote:

[".."] = { 12, 'R' }, was accidentally removed from src/lang/tree.lua on line 479 in commit 8d84f7d https://github.com/richardhundt/nyanga/commit/8d84f7deb360bdbc0bfde3f4b58d587771f2d3de making Ranges act weirdly:

Yeah, noticed that just now, thanks! Fixed in git head. I guess it'll be time soon for me to start keeping a master a bit more stable.