test/script/basic/errors.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
child 1512
152cfeee5001
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 Error is a function
     2 EvalError is a function
     3 RangeError is a function
     4 ReferenceError is a function
     5 SyntaxError is a function
     6 TypeError is a function
     7 URIError is a function
     8 Error.arity 1
     9 EvalError.arity 1
    10 RangeError.arity 1
    11 ReferenceError.arity 1
    12 SyntaxError.arity 1
    13 TypeError.arity 1
    14 URIError.arity 1
    15 true
    16 my error
    17 Error
    18 thrown @ 49
    19 true
    20 ReferenceError
    21 "foo" is not defined
    22 true
    23 TypeError
    24 Cannot call undefined
    25 Error
    26 EvalError
    27 RangeError
    28 ReferenceError
    29 SyntaxError
    30 TypeError
    31 URIError

mercurial