Skip to content

Comments in assembly function calls are being merged #97

@fvictorio

Description

@fvictorio

This

contract Foo {
  function f() {
    g(
      1, // one
      2, // two
      3 // three
    );

    assembly {
      g(
        1, // one
        2, // two
        3 // three
      )
    }
  }
}

is being printed as:

contract Foo {
  function f() {
    g(
      1, // one
      2, // two
      3 // three
    );

    assembly {
      g(1, 2, 3) // one // two // three
    }
  }
}

Notice that it seems to work fine for normal function calls; the problem seems to be inside assembly blocks.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions