Skip to content

Newlines embedded in strings converted to real newlines #18

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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