Skip to content

An extra newline is unexpectedly inserted after a dslx-fmt::on comment #1782

Open
@dplassgit

Description

Format:

import thing1;
import thing2;

fn f() -> (u32, u16) {
    let y = u16:64;

    // dslx-fmt::off
let y = u16:64;
let x = 
  u32:41;
         (x ,   y)

          // dslx-fmt::on

}

inserts the extra newline after the ::on.

Metadata

Assignees

Labels

bugSomething isn't working or is incorrectdslxDSLX (domain specific language) implementation / front-enddslx:fmtDSLX auto-formatterfmt:whitespace

Type

Projects

  • Status

    Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions