Skip to content

Commit

Permalink
Add missing break for IBinding.PACKAGE (CadixDev#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla authored Aug 22, 2023
1 parent a9d3bcc commit 053edd3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ protected void visit(SimpleName node, IBinding binding) {
// This is ignored because it should be covered by separate handling
// of QualifiedName (for full-qualified class references),
// PackageDeclaration and ImportDeclaration
break;
default:
throw new IllegalStateException("Unhandled binding: " + binding.getClass().getSimpleName() + " (" + binding.getKind() + ')');
}
Expand Down

0 comments on commit 053edd3

Please sign in to comment.