diff options
Diffstat (limited to 'compiler/typecheck/TcErrors.hs')
-rw-r--r-- | compiler/typecheck/TcErrors.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/typecheck/TcErrors.hs b/compiler/typecheck/TcErrors.hs index 951107bbcf..1fd98f1aa5 100644 --- a/compiler/typecheck/TcErrors.hs +++ b/compiler/typecheck/TcErrors.hs @@ -485,7 +485,7 @@ reportBadTelescope ctxt env (Just telescope) skols text "are out of dependency order. Perhaps try this ordering:") 2 (pprTyVars sorted_tvs) - sorted_tvs = toposortTyVars skols + sorted_tvs = scopedSort skols reportBadTelescope _ _ Nothing skols = pprPanic "reportBadTelescope" (ppr skols) |