-
Bug
-
Resolution: Done
-
Major
-
7.10.1.GA
-
RHDM 7.10.1
-
False
-
False
-
-
-
-
-
-
CR1
-
+
-
Undefined
-
-
-
2021 Week 19-21 (from May 10), 2021 Week 22-24 (from May 31)
When BigDecimal is passed to function as int type argument , compile in exec model fails. The error happens in both RHS and LHS, but these errors are different.
LHS case:
[ERROR] /path/to/reproducer_function_type_mismatch/target/generated-sources/drools-model-compiler/main/java/com/example/reproducer/P57/LambdaPredicate57072CFE0281CE26A44814C8D78A2FC2.java:[26,41] incompatible types: java.math.BigDecimal cannot be converted to int
RHS case:
[ERROR] /path/to/reproducer_function_type_mismatch/target/generated-sources/drools-model-compiler/main/java/com/example/reproducer/P68/LambdaConsequence681E41237219B67900AEBDC627D7A22F.java:[26,25] bd1 has private access in com.example.reproducer.Fact
Both build succeed with non-executable model (i.e. -DgenerateModel=NO)
- is cloned by
-
DROOLS-6362 compile error in exec model when BigDecimal is passed as int type argument to function
- Closed