nashorn/test/script/basic/calllink.js.EXPECTED
author sundar
Wed, 06 May 2015 20:04:42 +0530
changeset 30394 72a59e4dffea
parent 16147 e63b63819133
permissions -rw-r--r--
8079470: Misleading error message when explicit signature constructor is called with wrong arguments Reviewed-by: jlaskey, hannesw
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     1
obj1.func called
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     2
obj2.func called
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     3
no such method: func
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     4
obj4's prototype func called
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     5
MyConstructor.prototype.func
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     6
MyConstructor.prototype.func
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     7
obj1.func called
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     8
obj2.func called
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     9
new obj3.func called
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    10
new obj4.func called
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    11
all new MyConstructor.prototype.func
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    12
all new MyConstructor.prototype.func