
#12670: Representation polymorphism validity check is too strict -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.2.1 Component: Compiler (Type | Version: 8.0.1 checker) | Resolution: | Keywords: typeable Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): It turns out that the lack of `typeRepKind` has one more unfortunate effect: `Data.Dynamic.dynApply` can no longer be safely implemented. The reason is that we have no means of verifying that the result type of the function being applied is of kind `Type`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12670#comment:11 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler