diff options
Diffstat (limited to 'compiler/GHC/Builtin/Names.hs')
-rw-r--r-- | compiler/GHC/Builtin/Names.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/GHC/Builtin/Names.hs b/compiler/GHC/Builtin/Names.hs index 1c26e1aaa9..34bd17a23f 100644 --- a/compiler/GHC/Builtin/Names.hs +++ b/compiler/GHC/Builtin/Names.hs @@ -2796,6 +2796,7 @@ Situations in which we apply this special logic: pretendNameIsInScope :: Name -> Bool pretendNameIsInScope n = isBuiltInSyntax n + || isTupleTyConName n || any (n `hasKey`) [ liftedTypeKindTyConKey, unliftedTypeKindTyConKey , liftedDataConKey, unliftedDataConKey |