Skip to content

Commit

Permalink
Fixed compilation failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
rxin committed Jun 7, 2015
1 parent 19d6435 commit 73db80e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ abstract class Expression extends TreeNode[Expression] {
/* expression: ${this} */
Object ${objectTerm} = expressions[${ctx.references.size - 1}].eval(i);
boolean ${ev.isNull} = ${objectTerm} == null;
${ctx.javaType(e.dataType)} ${ev.primitive} = ${ctx.defaultValue(e.dataType)};
${ctx.javaType(this.dataType)} ${ev.primitive} = ${ctx.defaultValue(this.dataType)};
if (!${ev.isNull}) {
${ev.primitive} = (${ctx.boxedType(e.dataType)})${objectTerm};
${ev.primitive} = (${ctx.boxedType(this.dataType)})${objectTerm};
}
"""
}
Expand Down

0 comments on commit 73db80e

Please sign in to comment.