Open ergl opened 4 years ago
Is this the same issue or a different issue @ergl. It sounds like the same issue from your description. If it is, please add a note to #3126 and close this one.
Sorry, yes, it's the same issue, I'll add a comment there, thanks!
This fails with the latest LLVM.
Still an issue. Only happens with optimized builds so it has to be something in an optimization pass.
I managed to reproduce the same behaviour as https://github.com/ponylang/ponyc/issues/3126 with the following code:
(although the code works correctly in the pony playground)
Compiling the above:
This is on macOS Mojave 10.14.6,
ponyc
version: