Skip to content

wake-format: Trailing whitespace in import statements not removed #1669

@richardxia

Description

@richardxia

This is on wake 44.0.4.

$ cat >foo.wake <<-'EOF'
package foo

from wake import println 

def _ =
    println "Hello"
EOF

# Double check that there is indeed a trailing space on the import line
$ grep '\s$' foo.wake
from wake import println 

$ wake-format -i foo.wake

# Confirm that there is still a trailing space on the import line
$ grep '\s$' foo.wake
from wake import println 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions