Open yurloc opened 4 months ago
None. Discovered accidentally.
Add a new test to org.drools.drl.parser.antlr4.MiscDRLParserTest. Related to #5937. Two options:
org.drools.drl.parser.antlr4.MiscDRLParserTest
attribute
DRLParser.g4
chunk
duration
rule R duration ("P1DT1M") when end
N/A.
/take
This is a part of https://github.com/apache/incubator-kie-drools/issues/5972
Parent issue
5678
Failing tests
None. Discovered accidentally.
Notes
Add a new test to
org.drools.drl.parser.antlr4.MiscDRLParserTest
. Related to #5937. Two options:attribute
rule inDRLParser.g4
.attribute
rule less specialized and use thechunk
rule for theduration
attribute's value. This is the behavior of the old parser's intOrChunkAttribute method.Rule code snippet
Error output
N/A.