Commit 33ea1e21 authored by chak@cse.unsw.edu.au.'s avatar chak@cse.unsw.edu.au.
Browse files

TFs: T2677

parent e7d536d7
{-# LANGUAGE TypeFamilies #-}
module T2677 where
type family A x
type instance A a = Bool
type instance A Int = Char
T2677.hs:6:14:
Conflicting family instance declarations:
type instance A a -- Defined at T2677.hs:6:14
type instance A Int -- Defined at T2677.hs:7:14
......@@ -50,3 +50,4 @@ test('T2693', normal, compile_fail, [''])
test('T2888', normal, compile, [''])
test('T3092', normal, compile_fail, [''])
test('NoMatchErr', normal, compile_fail, [''])
test('T2677', normal, compile_fail, [''])
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment