test/script/basic/errors.js.EXPECTED

Tue, 01 Sep 2015 18:28:11 +0530

author
sundar
date
Tue, 01 Sep 2015 18:28:11 +0530
changeset 1521
eed10d5bf2f4
parent 1515
4db30ae9ff23
permissions
-rw-r--r--

8068901: Surprising behavior with more than one functional interface on a class
8068903: Can't invoke vararg @FunctionalInterface methods
Reviewed-by: attila, hannesw

sundar@1512 1 Error is a function
sundar@1512 2 EvalError is a function
sundar@1512 3 RangeError is a function
sundar@1512 4 ReferenceError is a function
sundar@1512 5 SyntaxError is a function
sundar@1512 6 TypeError is a function
sundar@1512 7 URIError is a function
sundar@1512 8 Error.arity 1
sundar@1512 9 EvalError.arity 1
sundar@1512 10 RangeError.arity 1
sundar@1512 11 ReferenceError.arity 1
sundar@1512 12 SyntaxError.arity 1
sundar@1512 13 TypeError.arity 1
sundar@1512 14 URIError.arity 1
sundar@1512 15 true
sundar@1512 16 my error
sundar@1512 17 Error
sundar@1512 18 thrown @ 49
sundar@1512 19 true
sundar@1512 20 ReferenceError
sundar@1512 21 "foo" is not defined
sundar@1512 22 true
sundar@1512 23 TypeError
sundar@1515 24 Object.foo_method is not a function
sundar@1512 25 Error
sundar@1512 26 EvalError
sundar@1512 27 RangeError
sundar@1512 28 ReferenceError
sundar@1512 29 SyntaxError
sundar@1512 30 TypeError
sundar@1512 31 URIError

mercurial