summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Gogolewski <krzysztof.gogolewski@tweag.io>2023-04-25 12:26:48 +0200
committerKrzysztof Gogolewski <krzysztof.gogolewski@tweag.io>2023-04-25 12:58:35 +0200
commitf6ed5254eb949ef02bb65da490b7a1f69e5b5c82 (patch)
tree5a69c831df34e09be2553348147a885d5fa26c71
parentab6c1d295cd9f492838dbd481ecc2a66bbd17393 (diff)
downloadhaskell-wip/T23298a.tar.gz
Test removing print-explicit-runtime-reps testwip/T23298a
-rw-r--r--compiler/GHC/Tc/Solver.hs5
1 files changed, 1 insertions, 4 deletions
diff --git a/compiler/GHC/Tc/Solver.hs b/compiler/GHC/Tc/Solver.hs
index d4dae8e31e..d9ab8ca6dd 100644
--- a/compiler/GHC/Tc/Solver.hs
+++ b/compiler/GHC/Tc/Solver.hs
@@ -490,12 +490,9 @@ simplifyTopWanteds wanteds
; try_tyvar_defaulting dflags wc_first_go }
where
try_tyvar_defaulting :: DynFlags -> WantedConstraints -> TcS WantedConstraints
- try_tyvar_defaulting dflags wc
+ try_tyvar_defaulting _dflags wc
| isEmptyWC wc
= return wc
- | insolubleWC wc
- , gopt Opt_PrintExplicitRuntimeReps dflags -- See Note [Defaulting insolubles]
- = try_class_defaulting wc
| otherwise
= do { -- Need to zonk first, as the WantedConstraints are not yet zonked.
; free_tvs <- TcS.zonkTyCoVarsAndFVList (tyCoVarsOfWCList wc)