Skip to content

Don't print trees twice after parser #13329

@odersky

Description

@odersky

Command

scalac test.scala -Xprint:parser

Output:

parsed:
package <empty> {
  module object Test {
    def test = ???
  }
}
result of test.scala after parser:
package <empty> {
  module object Test {
    def test = ???
  }
}

Expectation

The first output should be dropped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    SpreeSuitable for a future Spreearea:reportingError reporting including formatting, implicit suggestions, etcgood first issuePerfect for someone who wants to get started contributingitype:enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions