Skip to content

Backend: emit annotations #455

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 2 commits into from
Apr 3, 2015

Conversation

DarkDimius
Copy link
Contributor

The annotations are not emitted on arguments of backend-generated static forwarders.
Backend used to use type of method that it forwards to generate those annotations.
In dotty, there's way to get from this type to symbols of arguments.

@odersky please review. I know that this code is hard to review. But java tests actually include good coverage of annotations, including complex nested ones, so this code should be correct.

@DarkDimius DarkDimius force-pushed the backend-annotations branch from 94ce66f to 628bb24 Compare April 3, 2015 14:12
@DarkDimius
Copy link
Contributor Author

rebased.

@odersky
Copy link
Contributor

odersky commented Apr 3, 2015

Wow that's really hairy. Annotations in the JVM are such a mess. The commit LGTM as far as I can see.

DarkDimius added a commit that referenced this pull request Apr 3, 2015
@DarkDimius DarkDimius merged commit 6c6177c into scala:master Apr 3, 2015
OlivierBlanvillain pushed a commit to OlivierBlanvillain/dotty that referenced this pull request Dec 8, 2016
Fixed bug scala#680 and scala#455 (duplicates) by carrying more typing context to
the backend for method calls.
OlivierBlanvillain pushed a commit to OlivierBlanvillain/dotty that referenced this pull request Dec 12, 2016
Fixed bug scala#680 and scala#455 (duplicates) by carrying more typing context to
the backend for method calls.
@allanrenucci allanrenucci deleted the backend-annotations branch December 14, 2017 16:58
tgodzik added a commit to tgodzik/scala3 that referenced this pull request Jul 3, 2025
Backport "Revert "Make overload pruning based on result types less aggressive (scala#21744)" in main" 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