Skip to content

Commit

Permalink
use FieldExpression instead of VariableExpression
Browse files Browse the repository at this point in the history
  • Loading branch information
lhotari committed Jan 28, 2014
1 parent feff5f2 commit a6e6575
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -195,7 +195,7 @@ protected void weaveMixinIntoClass(final ClassNode classNode, final ClassNode mi

if (mixinFieldNode == null) return; // already woven

VariableExpression fieldReference = new VariableExpression(fieldName);
FieldExpression fieldReference = new FieldExpression(mixinFieldNode);

ClassNode currentMixinClassNode = mixinClassNode;
while (!currentMixinClassNode.getName().equals(OBJECT_CLASS)) {
Expand Down

0 comments on commit a6e6575

Please sign in to comment.