diff options
author | Tom Smeding <tom@tomsmeding.com> | 2022-05-10 17:21:50 +0200 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2022-05-10 17:21:50 +0200 |
commit | 2cb06be136dfb345807fd8a6c6bf79d5d78e48e0 (patch) | |
tree | 28391fd82f529c3e3b4120d4ae55b25eb9212802 | |
parent | 88062ee0e7c7b23e01e7f5e5b5667d99f2fbca94 (diff) |
Compile with GHC proper without cabal
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | README.txt | 13 |
2 files changed, 8 insertions, 9 deletions
@@ -1 +1,5 @@ dist-newstyle/ +*.hi +*.o +*.dyn_hi +*.dyn_o @@ -1,14 +1,10 @@ -$ cabal run -Build profile: -w ghc-9.2.2 -O1 -In order, the following will be built (use -v for more details): - - repro-0.1.0.0 (exe:test) (file Main.hs changed) -Preprocessing executable 'test' for repro-0.1.0.0.. -Building executable 'test' for repro-0.1.0.0.. -[2 of 2] Compiling Main ( Main.hs, /home/tom/code/ghc-refinefrominscope-panic-repro/dist-newstyle/build/x86_64-linux/ghc-9.2.2/repro-0.1.0.0/x/test/build/test/test-tmp/Main.o, /home/tom/code/ghc-refinefrominscope-panic-repro/dist-newstyle/build/x86_64-linux/ghc-9.2.2/repro-0.1.0.0/x/test/build/test/test-tmp/Main.dyn_o ) +$ ghc-9.2.2 Main.hs Foo.hs +[1 of 2] Compiling Foo ( Foo.hs, Foo.o, Foo.dyn_o ) +[2 of 2] Compiling Main ( Main.hs, Main.o, Main.dyn_o ) ghc: panic! (the 'impossible' happened) (GHC version 9.2.2: refineFromInScope - InScope {wild_00 $dQuote_a2GD} + InScope {wild_00 $dQuote_a2Jf} $tcT Call stack: CallStack (from HasCallStack): @@ -16,4 +12,3 @@ ghc: panic! (the 'impossible' happened) pprPanic, called at compiler/GHC/Core/Opt/Simplify/Env.hs:706:30 in ghc:GHC.Core.Opt.Simplify.Env Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug - |