Skip to content

Conversation

@changvvb
Copy link
Contributor

@changvvb changvvb commented Jul 30, 2020

fixes scala/bug#11870
Following #9023 (comment), add QualifierTypedAnnotationInfo used to match AnnotationInfo type without fully typechecked

@scala-jenkins scala-jenkins added this to the 2.13.4 milestone Jul 30, 2020
@changvvb changvvb force-pushed the add-QualifierTypedAnnotationInfo branch from 2618be7 to 51710a3 Compare August 3, 2020 02:32
Copy link
Member

@lrytz lrytz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @changvvb for this patch! I apologize it took so long to get a first review.

I think the existing LazyAnnotationInfo is already a dubious workaround, and the proposed change here pushes that complexity a bit too far.

I'm wondering if we could have a single AnnotationInfo class that has lazy fields, and add support for lazy annotations directly in typer.typedAnnotation. So I started looking at typedAnnotation and, as a first step, did some cleanups / simplifications. I'm testing them here: #9189.

@changvvb
Copy link
Contributor Author

changvvb commented Sep 4, 2020

@lrytz Simplifying AnnotationInfo will be a great breakthrough.

@dwijnand
Copy link
Member

dwijnand commented Oct 7, 2020

@lrytz with #9189 landed, where does this PR stand?

@lrytz
Copy link
Member

lrytz commented Oct 9, 2020

I'd like to get back to it and attempt the AnnotationInfo overhaul I hinted at above, at some point when I have time.

@dwijnand dwijnand modified the milestones: 2.13.4, 2.13.5 Oct 14, 2020
@lrytz
Copy link
Member

lrytz commented Nov 9, 2020

Superseded by #9302

@lrytz lrytz closed this Nov 9, 2020
@SethTisue SethTisue removed this from the 2.13.5 milestone Nov 9, 2020
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.13.1 scalac StackOverflowError when annotation argument references the annottee

5 participants