This commit is contained in:
parent
23f7d1a550
commit
2c058fc84c
2 changed files with 3 additions and 3 deletions
|
|
@ -49,8 +49,8 @@ public class NodeTreeWalker<T> {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!literal.literals().isEmpty()) {
|
if (!literal.literals().isEmpty()) {
|
||||||
var isRequired = literal.executor() == null;
|
var isOptional = literal.executor() != null;
|
||||||
return new WalkResult.LiteralExpected<>(ctxBuilder.build(), literal, isRequired);
|
return new WalkResult.LiteralExpected<>(ctxBuilder.build(), literal, isOptional);
|
||||||
}
|
}
|
||||||
|
|
||||||
return new WalkResult.Complete<>(ctxBuilder.build(), literal);
|
return new WalkResult.Complete<>(ctxBuilder.build(), literal);
|
||||||
|
|
|
||||||
2
defs.bzl
2
defs.bzl
|
|
@ -1,2 +1,2 @@
|
||||||
GROUP = "de.kentoj.scrow"
|
GROUP = "de.kentoj.scrow"
|
||||||
VERSION = "0.38-SNAPSHOT"
|
VERSION = "0.39-SNAPSHOT"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue