Ignore UNPACK pragmas with OmitInterfacePragmas is on (fixes Trac #5252)
authorSimon Peyton Jones <simonpj@microsoft.com>
Sat, 11 Jun 2011 13:26:34 +0000 (14:26 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Sat, 11 Jun 2011 13:26:34 +0000 (14:26 +0100)
commit792449f555bb4dfa8e718079f6d42dc9babe938a
tree10d360b1761e3b52166f9e75042b08731442ba83
parentceb672554ef7e668eb92f703a3d21c6bd1e3b91e
Ignore UNPACK pragmas with OmitInterfacePragmas is on (fixes Trac #5252)

The point here is that if a data type chooses a representation that
unpacks an argument field, the representation of the argument field
must be visible to clients.  And it may not be if OmitInterfacePragmas
is on.
compiler/typecheck/TcInstDcls.lhs
compiler/typecheck/TcTyClsDecls.lhs