Wrong code generation in case statement
## Summary The condition in case statement evaluates twice in certain cases. ## System Information <!-- The more information are provided the easier it is to replicate the bug --> - **Operating system:** Alt.Linux 10.1 - **Processor architecture:** x86-64 - **Compiler version:** 3.3.1 - **Device:** PC ## Steps to reproduce Run attached example. ## Example Project ![example.zip](/uploads/7923e9c52202404e06c88b03b25e6fd4/example.zip) ## What is the current bug behavior? The HandleEntityReference method calls twice: ![issue](/uploads/0752a2b646555c4b1131ab630d6ae809/issue.png) ## What is the expected (correct) behavior? The HandleEntityReference method must be called just once
issue