$ stack ghc -- -O0 test.hs -fplugin=DumpCore -fplugin-opt DumpCore:core-html
[1 of 1] Compiling Test ( test.hs, test.o ) [DumpCore changed]
ghc.EXE: panic! (the 'impossible' happened)
(GHC version 8.0.1 for x86_64-unknown-mingw32):
Static flags have not been initialised!
Please call GHC.parseStaticFlags early enough.
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug