java2xtend icon indicating copy to clipboard operation
java2xtend copied to clipboard

Newlines embedded in strings converted to real newlines

Open abies opened this issue 11 years ago • 0 comments

public class Test {

    public String m() {
        return "\n";
    }

}

gets converted to

class Test {
  def m(){
    '
'
  }
}

Which is compiling, but quite confusing (and can possibly break given difference in platform end of line encodings)

abies avatar Jun 04 '13 12:06 abies