epsilonlabs / emc-ptcim

EMC driver for the PTC Integrity Modeler
Eclipse Public License 1.0
2 stars 0 forks source link

Select doesn't work is argument is operation #27

Open zolotas4 opened 7 years ago

zolotas4 commented 7 years ago

Select only works if the argument is an expression but it throws an exception if the parameter passed is an operation (e.g., select(c|c.isCorrect());

arcanefoam commented 7 years ago

The PTC model implements/provides an OperationContribution so we can detect select operations that can be delegated to PTC. It is probably that we are filtering incorrectly or not delegating to the EOL select operation when we can't handle the select.

Probably the OperationContributor does not have any JUnit cases that test this functionality.