Skip to content

Commit

Permalink
fix: Spoon AST is tree not a latice
Browse files Browse the repository at this point in the history
  • Loading branch information
pvojtechovsky committed Oct 12, 2017
1 parent 20985e2 commit 55f3b67
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ public boolean visit(ExplicitConstructorCall explicitConstructor, BlockScope sco
CtInvocation<Object> inv = factory.Core().createInvocation();
inv.setImplicit(explicitConstructor.isImplicitSuper());
inv.setExecutable(references.getExecutableReference(explicitConstructor.binding));
inv.getExecutable().setType((CtTypeReference<Object>) inv.getExecutable().getDeclaringType());
inv.getExecutable().setType((CtTypeReference<Object>) inv.getExecutable().getDeclaringType().clone());

context.enter(inv, explicitConstructor);
return true;
Expand Down

0 comments on commit 55f3b67

Please sign in to comment.