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

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

mercurial