Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SI-8367 Fix positioning of extends, super in bodyless templates #3612

Closed
wants to merge 2 commits into from

Conversation

retronym
Copy link
Member

A refinement of the fix in ac77909.

Just submitting this for pr-validation against scala-ide, scala-refactoring, as I expect problems.

Currently outputs:

    [[syntax trees at end of                    parser]] // newSource1.scala
    [6]package [6]<empty> {
      [6]class C extends [7][21]scala.AnyRef {
        [21]def <init>() = [21]{
          [NoPosition][NoPosition][NoPosition]super.<init>();
          [21]()
        }
      }
    }

Which incorrectly encloses the `// comment` at the end of the source.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants