Refactor: Origin of inferred Thetas
authorJoachim Breitner <mail@joachim-breitner.de>
Mon, 2 Dec 2013 19:16:08 +0000 (19:16 +0000)
committerJoachim Breitner <mail@joachim-breitner.de>
Tue, 3 Dec 2013 08:57:04 +0000 (08:57 +0000)
commit51bebb7c324d2572d5a299f950c09dc4d21cd271
tree05ca62cf817a4092078d4e772ac8060ef5c1a953
parent0fe399c965138ef9e25a1f20392c40d09885ae7c
Refactor: Origin of inferred Thetas

When doing non-standalone deriving, annotate each individual
unsimplified constraint with its own CtOrigin. This is just the
refactoring, so the CtOrigin is still CtDeriv in each case.
compiler/typecheck/TcDeriv.lhs
compiler/typecheck/TcMType.lhs