ghc: internal error: evacuate: strange closure type 273435168
Summary
Got error
ghc: internal error: evacuate: strange closure type 273435168 when trying to compile simple clash example on OS X Catalina
Steps to reproduce
stack new my-clash-project clash-lang/deca stack build
got above error message
Expected behavior
Compiler should create output file
Environment
-
GHC version used: (GHC version 8.10.4 for x86_64_apple_darwin) Optional:
-
Operating System: Darwin beauty.local 19.6.0 Darwin Kernel Version 19.6.0: Thu Sep 16 20:58:47 PDT 2021; root:xnu-6153.141.40.1~1/RELEASE_X86_64 x86_64
-
System Architecture: Macbook Pro (2019)