Skip to content

Commit

Permalink
Remove BaselineErrorProneScope helper (#1985)
Browse files Browse the repository at this point in the history
Remove BaselineErrorProneScope helper
  • Loading branch information
fawind committed Nov 23, 2021
1 parent 68120b8 commit 75f8c3e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 111 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ private boolean cannotBeInitializedExternally(ClassSymbol newClassSymbol) {
if (newClassSymbol.isPrivate()) {
return true;
}
return !new BaselineErrorProneScope(newClassSymbol.members())
return !ASTHelpers.scope(newClassSymbol.members())
.getSymbols(ClassInitializationDeadlock::canBeExternallyInitialized, LookupKind.NON_RECURSIVE)
.iterator()
.hasNext();
Expand Down

0 comments on commit 75f8c3e

Please sign in to comment.