Skip to content

Commit

Permalink
#357: added if-then-else construct and unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dbenn committed Jul 21, 2024
1 parent b84386e commit 949aab0
Show file tree
Hide file tree
Showing 6 changed files with 512 additions and 425 deletions.
2 changes: 1 addition & 1 deletion src/org/aavso/tools/vstar/vela/AST.java
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public Type getLiteralType() {
*/
public boolean isDeterministic() {
boolean deterministic = op != Operation.FUNCALL
&& op != Operation.SYMBOL && op != Operation.SELECT;
&& op != Operation.SYMBOL && op != Operation.WHEN;

if (deterministic && !isLeaf()) {
for (AST child : children) {
Expand Down
Loading

0 comments on commit 949aab0

Please sign in to comment.