test/script/basic/map.js.EXPECTED

Wed, 03 Jul 2013 15:46:03 +0200

author
lagergren
date
Wed, 03 Jul 2013 15:46:03 +0200
changeset 407
961cffae0828
parent 0
b1a7da25b547
permissions
-rw-r--r--

8019811: Static calls - self referential functions needed a return type conversion if they were specialized, as they can't use the same mechanism as indy calls
Reviewed-by: sundar, jlaskey

     1 m.class.name=java.util.LinkedHashMap
     2 m = {}
     3 m.empty = true
     4 m['empty'] = true
     5 m[empty_key] = true
     6 m = {empty=foo}
     7 m.empty = false
     8 m['empty'] = foo
     9 m[empty_key] = foo
    10 m.bwah = null
    11 m['bwah'] = null
    12 m.twonk = ding
    13 m['twonk'] = ding
    14 m.size()=2
    15 --for each begin--
    16 empty
    17 twonk
    18 --for each end--

mercurial