Skip to content

Fixing annotations #118

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

Merged
merged 3 commits into from
Apr 9, 2014
Merged

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Apr 9, 2014

Two fixes:

  1. Annotation#symbol now returns the correct annotations for classes as well as traits.
  2. Typer copies annotations from Modifiers to Symbols

Two fixes:

1) Annotation#symbol now returns the correct annotations for classes as well as traits.
2) Typer copies annotations from Modifiers to Symbols
@odersky
Copy link
Contributor Author

odersky commented Apr 9, 2014

Review by @DarkDimius

It would be best if this was integrated in the tailrec pull request. tailrec sholld look at symbol annotations instead of trees.

Also right now, a number of lazyval tests fail after the change. @DarkDimius can you check why and if possible fix it?

@DarkDimius
Copy link
Contributor

Either travis had an error, or this fix made tests hang.
I've restarted travis build.

@DarkDimius
Copy link
Contributor

dotc.tests.dotc_core has finished first run, but second run didn't finish in 10 minutes.

DarkDimius added a commit that referenced this pull request Apr 9, 2014
@DarkDimius DarkDimius merged commit 3750291 into scala:master Apr 9, 2014
WojciechMazur pushed a commit to WojciechMazur/dotty that referenced this pull request Mar 19, 2025
Backport "Attempt to beta reduce only if parameters and arguments have same shape" to 3.3 LTS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants