summaryrefslogtreecommitdiff
path: root/compiler/utils/GraphBase.hs
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2018-10-03 16:35:09 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2018-10-04 15:37:58 +0100
commit2f09753f96207c12efd43090f5de55b05aef35d3 (patch)
tree4093c0be62785abc174e1ff2e1ea781cc07789b4 /compiler/utils/GraphBase.hs
parent37ef7031b95c97e7c8bc1d14bc95554a3bac2873 (diff)
downloadhaskell-2f09753f96207c12efd43090f5de55b05aef35d3.tar.gz
Distinguish Inferred from Specified tyvars
In a declared type we need to distinguish between Inferred and Specified type variables. This was exposed by Trac #15592. See Note [Work out final tyConBinders] in TcTyClsDecls. I had to change the definition of HasField in GHC.Records to class HasField x r a | x r -> a where so as to have an /inferred/ kind argument rather than a specfied one. So HasField :: forall {k}. k -> * -> * -> Constraint
Diffstat (limited to 'compiler/utils/GraphBase.hs')
0 files changed, 0 insertions, 0 deletions