diff options
author | Krzysztof Gogolewski <krzysztof.gogolewski@tweag.io> | 2022-04-29 22:37:44 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-05-02 18:29:24 -0400 |
commit | 4a7809284354025d07221f0aeca10a7992d23677 (patch) | |
tree | 7cf0ca5525de8d50e6dd4c49a7ec12b50c1ca93e /compiler/GHC/Tc/TyCl.hs | |
parent | 3e400f204e2b88c501c734f2c4244910ffc0d5dc (diff) | |
download | haskell-4a7809284354025d07221f0aeca10a7992d23677.tar.gz |
Fix several note references
Diffstat (limited to 'compiler/GHC/Tc/TyCl.hs')
-rw-r--r-- | compiler/GHC/Tc/TyCl.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Tc/TyCl.hs b/compiler/GHC/Tc/TyCl.hs index 302f93e691..604740c657 100644 --- a/compiler/GHC/Tc/TyCl.hs +++ b/compiler/GHC/Tc/TyCl.hs @@ -4359,7 +4359,7 @@ checkValidDataCon dflags existential_ok tc con -- matches the type constructor; eg reject this: -- data T a where { MkT :: Bogus a } -- It's important to do this first: - -- see Note [rejigCon + -- see Note [rejigConRes] -- and c.f. Note [Check role annotations in a second pass] -- Check that the return type of the data constructor is an instance |