X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FbasicTypes%2FDataCon.lhs;h=38185801a0669c35bedfff9090178f4491741aad;hb=fe548aebdad3520e51d92fcda6bec9d26d69aa4a;hp=61c71d6d7dd17603796fec39ebc1481fb13f01f7;hpb=0773c6f70a7b46b243a6a47fe371fe1654a8e1b2;p=ghc-hetmet.git diff --git a/ghc/compiler/basicTypes/DataCon.lhs b/ghc/compiler/basicTypes/DataCon.lhs index 61c71d6..3818580 100644 --- a/ghc/compiler/basicTypes/DataCon.lhs +++ b/ghc/compiler/basicTypes/DataCon.lhs @@ -151,6 +151,12 @@ So now I've taken the stupid context out. I simply deal with it separately in the type checker on occurrences of a constructor, either in an expression or in a pattern. +[May 2003: actually I think this decision could evasily be reversed now, +and probably should be. Generics could be disabled for types with +a stupid context; record updates now (H98) needs the context too; etc. +It's an unforced change, so I'm leaving it for now --- but it does seem +odd that the wrapper doesn't include the stupid context.] + %************************************************************************