764: made boolean/number/regex indexable

This commit is contained in:
satyr
2010-10-12 19:30:10 +09:00
parent c0ec479e60
commit 8f29574b16
4 changed files with 39 additions and 32 deletions

View File

@@ -240,3 +240,8 @@ eq result.two, obj.list()[1]
#542: Objects leading expression statement should be parenthesized.
{f: -> ok yes }.f() + 1
#764: Boolean/Number should be indexable.
ok 42['toString']
ok on['toString']