MicroHs-0.17.4.0: tests/Error113.hs
{-# LANGUAGE RoleAnnotations #-}
module Error113() where
import Data.Coerce
type role P phantom representational
data P a b = P b
-- A representational argument must be coercible
p :: P Bool Bool -> P Char Int
p = coerce