test/script/basic/undefined.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 x undefined? true
     2 TypeError: Cannot read property "foo" from undefined
     3 TypeError: Cannot set property "bar" of undefined
     4 TypeError: Cannot read property "1" from undefined
     5 TypeError: Cannot set property "0" of undefined
     6 TypeError: Cannot read property "func" from undefined
     7 TypeError: Cannot delete property "0" of undefined
     8 TypeError: Cannot delete property "foo" of undefined
     9 TypeError: undefined is not an Object
    10 TypeError: Cannot apply "with" to undefined

mercurial