Bug in multi-line string declaration

andrei.eremeev andrei.eremeev at oracle.com
Wed Feb 18 16:46:59 UTC 2015


Hi REPL team,

Multi-line string declaration fails with error : bad operand type 
java.lang.String for unary operator '+++'.

-> String s = "aaa" +
 >> "aaa";
|  Error:
|  bad operand type java.lang.String for unary operator '+++'
|  String s = "aaa" +
|  "aaa";
|                   ^

Andrei Eremeev


More information about the kulla-dev mailing list