Bug in multi-line string declaration

Jonathan Gibbons jonathan.gibbons at oracle.com
Wed Feb 18 21:03:31 UTC 2015


There's two parts to this.    There's whatever is going on in kulla, but 
the reference to the unary operator '+++' is a javac quirk that 
(coincidentally) was should have been fixed by Maurizio's work on his 
refactoring of the operator code in javac.

-- Jon

On 02/18/2015 08:46 AM, andrei.eremeev wrote:
> 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