japl/tests/japl/errors/unsup_binary_intstr.jpl

11 lines
273 B
Plaintext

[Test: unsup_binary_instr]
[source: mixed]
var a = 2 + "hey";
//stderr:An unhandled exception occurred, traceback below:
//stderr: File '''', line 1, in <module>:
//stderr:TypeError: unsupported binary operator '+' for objects of type 'integer' and 'string'
[end]
[end]