summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@cs.stanford.edu>2016-05-09 19:56:41 -0700
committerEdward Z. Yang <ezyang@cs.stanford.edu>2016-05-11 19:55:28 -0700
commitb5f85cef46b1c85e1d938692c4f08c6d70e65fed (patch)
treed835afe4a1a03e6c05e543825969d234fcc80377 /compiler
parent86a1f20808a41c58345f72024facbcfc5d873f7d (diff)
downloadhaskell-b5f85cef46b1c85e1d938692c4f08c6d70e65fed.tar.gz
Remove stale comment.
Summary: The code was reordered before tcRnImports in 3c44a46b352a4eb7ff72eb3aa5495b25dee8351f. I don't think the new code is buggy. Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> Reviewers: simonpj, austin, bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2186
Diffstat (limited to 'compiler')
-rw-r--r--compiler/typecheck/TcRnDriver.hs4
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/typecheck/TcRnDriver.hs b/compiler/typecheck/TcRnDriver.hs
index e21d614265..bb3056b30d 100644
--- a/compiler/typecheck/TcRnDriver.hs
+++ b/compiler/typecheck/TcRnDriver.hs
@@ -300,10 +300,6 @@ tcRnModuleTcRnM hsc_env hsc_src
-- We do this now so that the boot_names can be passed
-- to tcTyAndClassDecls, because the boot_names are
-- automatically considered to be loop breakers
- --
- -- Do this *after* tcRnImports, so that we know whether
- -- a module that we import imports us; and hence whether to
- -- look for a hi-boot file
boot_info <- tcHiBootIface hsc_src this_mod ;
setGblEnv (tcg_env { tcg_self_boot = boot_info }) $ do {