Skip to content

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Sep 4, 2021

PR analogous to #13348 but for cc-experiment

@odersky odersky added the cc-experiment Intended to be merged with cc-experiment branch on origin label Sep 4, 2021
Always print annotation arguments if there are some, except for Body annotations
A TypeMap previously mapped the annotation only if it returned a different
result for the parent type. There is no good reason for this behavior. We
now map always, but allow the mapping operation to be defined in the annotation.

The change uncovers a bug illustrated in annotDepMethType.scala, which is fixed
in the next commit.
Fix problems handling function types that are dependent through their result annotations.
@odersky odersky merged commit 9693cd8 into scala:cc-experiment Sep 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cc-experiment Intended to be merged with cc-experiment branch on origin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant