-
Bug
-
Resolution: Done
-
Major
-
7.69.0.Final
-
None
-
2022 Week 17-19 (from Apr 25), 2022 Week 20-22 (from May 16)
-
2
-
NEW
-
NEW
-
---
-
---
Negation '!' with a temporal constraint
$b : StockTick( company == "ACME", !(this after[5s,8s] $a ))
fails to compile with exec-model
The operator ! is undefined for the argument type(s) TemporalPredicate
public enum LambdaPredicate06CF0CA6DE04D1B154AD6F3FF00EF219 implements org.drools.model.functions.Predicate2<org.drools.modelcompiler.domain.StockTick, org.drools.modelcompiler.domain.StockTick>, org.drools.model.functions.HashedExpression { ... @Override() public boolean test(org.drools.modelcompiler.domain.StockTick _this, org.drools.modelcompiler.domain.StockTick $a) throws java.lang.Exception { return !(D.after(5L, java.util.concurrent.TimeUnit.SECONDS, 8L, java.util.concurrent.TimeUnit.SECONDS)); }
- is related to
-
DROOLS-6952 Unary negation failure with TemporalPredicate and declared timestamp
- Closed
-
DROOLS-6957 Investigate NPE in SmokeParserTest
- Closed