Skip to content

Newlines embedded in strings converted to real newlines #18

@abies

Description

@abies
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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions