Skip to content

Commit

Permalink
Really calling the original translation.
Browse files Browse the repository at this point in the history
  • Loading branch information
lahodaj committed Jul 28, 2022
1 parent 5358170 commit 796eea4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1551,6 +1551,7 @@ public void visitReference(JCMemberReference tree) {
return;

env.tree = TransPatterns.instance(context).translateTopLevelClass(env, env.tree, localMake);
env.tree = TransPatternsUnmodified.instance(context).translateTopLevelClass(env, env.tree, localMake);
compileStates.put(env, CompileState.TRANSPATTERNS);

if (Feature.LAMBDA.allowedInSource(source) && scanner.hasLambdas) {
Expand Down

0 comments on commit 796eea4

Please sign in to comment.