summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compiler/typecheck/TcRnTypes.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/typecheck/TcRnTypes.hs b/compiler/typecheck/TcRnTypes.hs
index dc05c13cc9..3fd2a83a7f 100644
--- a/compiler/typecheck/TcRnTypes.hs
+++ b/compiler/typecheck/TcRnTypes.hs
@@ -754,6 +754,8 @@ type TcIdSet = IdSet
type TcIdBinderStack = [TcIdBinder]
-- This is a stack of locally-bound ids, innermost on top
-- Used ony in error reporting (relevantBindings in TcError)
+ -- We can't use the tcl_env type environment, because it doesn't
+ -- keep track of the nesting order
data TcIdBinder
= TcIdBndr