Skip to content

Commit

Permalink
Use instead of GeneratedExpression's nullTerm
Browse files Browse the repository at this point in the history
  • Loading branch information
libenchao committed Dec 20, 2019
1 parent 4d89fc7 commit c819f09
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1287,17 +1287,17 @@ object ScalarOperatorGens {
|boolean $nullTerm;
|if (${condition.resultTerm}) {
| ${trueAction.code}
| if (!${trueAction.nullTerm}) {
| $nullTerm = ${trueAction.nullTerm};
| if (!$nullTerm) {
| $resultTerm = ${trueAction.resultTerm};
| }
| $nullTerm = ${trueAction.nullTerm};
|}
|else {
| ${falseAction.code}
| if (!${falseAction.nullTerm}) {
| $nullTerm = ${falseAction.nullTerm};
| if (!$nullTerm) {
| $resultTerm = ${falseAction.resultTerm};
| }
| $nullTerm = ${falseAction.nullTerm};
|}
|""".stripMargin.trim
}
Expand Down

0 comments on commit c819f09

Please sign in to comment.