Fixed deriving of associated data types
authorManuel M T Chakravarty <chak@cse.unsw.edu.au>
Wed, 27 Jun 2007 05:48:34 +0000 (05:48 +0000)
committerManuel M T Chakravarty <chak@cse.unsw.edu.au>
Wed, 27 Jun 2007 05:48:34 +0000 (05:48 +0000)
commit878924ac03219f02c857b0c3a95bb47a4a427d55
tree1db597d2c8bf7547730920516b125f7c84357def
parent39876e61f7d0fd29f0a3b8533b61766701cec106
Fixed deriving of associated data types
- We forgot to pull the data declarations nested in class instances out of
  the instances when collecting all the predicates that we need derive.
  Thanks to Roman for spotting this.
compiler/typecheck/TcDeriv.lhs
compiler/typecheck/TcInstDcls.lhs