Manuel Hässig
Manuel Hässig
Since this has not yet been fixed, I've submitted a PR (#10).
On Arch Linux installing [`icu69` from AUR](https://aur.archlinux.org/packages/icu69) solved the problem for me for the extension on [`visual-studio-code-bin`](https://aur.archlinux.org/packages/visual-studio-code-bin).
Thank you for having a look, @chhagedorn. I removed the repeated compilation.
You forgot to add the new tests to the array of tests in `@Run`: ``` stderr: Exception in thread "main" compiler.lib.ir_framework.shared.TestRunException: Test Failures (1) ----------------- Custom Run Test: @Run: runMethod...
Thinking about it a bit more, I think your fix is too superficial. If the discovery of the constant is slightly delayed, nothing is folded again. Consider the followig program...
Thank you for addressing my comments and for your explanation! The changes look good to me, but nonetheless I kicked off some testing on our side and I'll get back...
Testing is all green.
> The main reason for all the if cases is that min_int / (-1) is undefined behavior in C++, as it overflows. All code has to be careful that this...