packages feed

purescript-0.14.0: tests/purs/failing/CoercibleNonCanonical2.purs

-- @shouldFailWith NoInstanceFound
module Main where

import Prim.Coerce (class Coercible)
import Safe.Coerce (coerce)

data D a = D a

nonCanonicalDiffTyVarEq :: forall a b. Coercible b (D b) => a -> b
nonCanonicalDiffTyVarEq = coerce