Skip to content

Note that parameterizations of local classes are themselves local#7552

Merged
aschackmull merged 1 commit into
github:mainfrom
smowton:smowton/fix/local-parameterized-classes
Jan 11, 2022
Merged

Note that parameterizations of local classes are themselves local#7552
aschackmull merged 1 commit into
github:mainfrom
smowton:smowton/fix/local-parameterized-classes

Conversation

@smowton
Copy link
Copy Markdown
Contributor

@smowton smowton commented Jan 10, 2022

Previously LocalClass itself would match .isLocal() whereas LocalClass<Param> would not. Rather than require each individual user to check for .getSourceDeclaration().isLocal(), let's note that the specializations themselves are local.

Previously `LocalClass` itself would match `.isLocal()` whereas `LocalClass<Param>` would not. Rather than require each individual user to check for `.getSourceDeclaration().isLocal()`, let's note that the specializations themselves are local.
@smowton smowton requested a review from a team as a code owner January 10, 2022 18:21
@github-actions github-actions Bot added the Java label Jan 10, 2022
Copy link
Copy Markdown
Contributor

@atorralba atorralba left a comment

Choose a reason for hiding this comment

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

LGTM

@aschackmull aschackmull merged commit 2a36744 into github:main Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants