Skip to content

Commit

Permalink
Skip trying to remap module names (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla authored Nov 19, 2023
1 parent 9938cb0 commit 1d39ce5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ 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
case IBinding.MODULE:
// We don't remap module names
break;
default:
throw new IllegalStateException("Unhandled binding: " + binding.getClass().getSimpleName() + " (" + binding.getKind() + ')');
Expand Down

0 comments on commit 1d39ce5

Please sign in to comment.