hanjoosten opened a new issue, #3778:
URL: https://github.com/apache/incubator-kie-tools/issues/3778

   See this discussion at 
[zulipchat](https://kie.zulipchat.com/#narrow/stream/232676-kogito/topic/What.20is.20the.20return-type.20of.20a.20decision.20table.3F).
 
   
   in the DMNEvaluator compiler, 
https://github.com/kiegroup/drools/blob/053ca95475b0b51f2a9b8ee9f08a54b01d389140/kie-dmn/kie-dmn-core/src/main/java/org/kie/dmn/core/compiler/DMNEvaluatorCompiler.java#L819-L858
   when a decision table of 1 output, is nested in the result context entry of 
a boxed context which is the body of a boxed function definition, it is not 
possible to infer the type and the compilation error is returned.
   the reproducer shows a boxed function definition in a context entry of a 
boxed context, which is only partially relevant.
   the function definition defines as body a boxed context, and a decision 
table of 1 output, as the body's boxed context final result entry, reproducing 
the compiler error.
   it is likely reproducible also for a boxed function definition directly 
nested in a decision node (albeit not best practice either).
   
   
[reproducer.zip](https://github.com/kiegroup/kie-issues/files/11798708/reproducer.zip)
   
   Acceptance criteria: 
   - There is no error message with the use case. 
   - Test reproducing the problem created along the fix. 
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to