Skip to content

Regression on MacOS platform, error in ghci calling main after loading compiled code: "Too late for parseStaticFlags..."

$ ghci
GHCi, version 7.10.0.20150123: http://www.haskell.org/ghc/  :? for help
Prelude> :load rsa
Ok, modules loaded: Main.
Prelude Main> :show modules
Main             ( rsa.hs, rsa.o )
Prelude Main> main
Too late for parseStaticFlags: call it before runGhc or runGhcT
 Exception: ExitFailure 1
Prelude Main> 

note, there is no failure if I load interpreted code

Edited by Ben Gamari
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information