Christofer Dutz created PLC4X-225: ------------------------------------- Summary: [code-generation] make it possible to put expressions in switch conditions Key: PLC4X-225 URL: https://issues.apache.org/jira/browse/PLC4X-225 Project: Apache PLC4X Issue Type: Improvement Components: Code-Generation Affects Versions: 0.8.0 Reporter: Christofer Dutz Assignee: Christofer Dutz
Right now it is only possible to put constant expressions in the case elements of a typeSwitch. This was ok as long as we simply had numeric constants in there. But some times it is desirable to have expressions in there: "MyCoolEnumType.SOME_CONSTANT.value" for example. This is currently not resolved correctly. -- This message was sent by Atlassian Jira (v8.3.4#803005)