Clone
Luca Molteni <volothamp@gmail.com>
committed
on 02 Oct 19
[DROOLS-4534] ClassCastException using accumulate max in executable model (#2555)
* test

* Moved test to AccumulateTest.java

* Better test… Show more
[DROOLS-4534] ClassCastException using accumulate max in executable model (#2555)

* test

* Moved test to AccumulateTest.java

* Better test

* Better test

* New test

* Multiple ids to replace

* New test for simpler case

* Passing test, probably wrong

* Fix rebase

* Create D.input when using : this in Pattern

* Reverted wrong fix

* andThen in function

* First test for Lambda compose

* Passing test with hardcoded type

* Extracted type parameter

* Passing test for Pattern

* Refactor

* Remove first hardcoded input

* Take type from var

* It's easier to concatenate two bodies

* Removed input as a field

* Convert to input only in FlowDSL

* Only collapse binding when effective bindings are > 1

* Fix Flow DSL

* Both test passing

* Fix test extractor in function

* Fix regression

* Removed logger

* Removed useless parts

* Refactor

* Extracted AccumulateInlineVisitor

* BaseDescr as field

* Other fields

* Big refactor of AccumulateVisitor

* Fix compilation after rebase

Show less

master + 4 more