You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling on OSX with optimizations (stack clean && stack build with resolver lts-9.12 (ghc 8.0.2)), the program loops infinitely (400% CPU, and execution is blocked) when an animation is triggered.
The bug is visible at this commit : 9f25223 (to reproduce, shoot at a number in the game)
It was not a ghc bug, it was my code that was too strict! making it more lazy fixed the issue, and compiling with -fpedantic-bottoms makes the error be deterministic.
Related commit: 5bce4fd
When compiling on OSX with optimizations (
stack clean && stack build
with resolverlts-9.12
(ghc 8.0.2)), the program loops infinitely (400% CPU, and execution is blocked) when an animation is triggered.The bug is visible at this commit : 9f25223 (to reproduce, shoot at a number in the game)
This branch reproduces the problem with a minimal amount of code:
https://github.com/OlivierSohn/hamazed/tree/repro-ghc-14521-A
stack version:
A ticket was opened concerning this potential ghc bug : https://ghc.haskell.org/trac/ghc/ticket/14521
The text was updated successfully, but these errors were encountered: