Commit c5948839 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Test Trac #7524

parent c70d6ada
{-# LANGUAGE TypeFamilies, PolyKinds #-}
module T7524 where
type family F (a :: k1) (b :: k2)
type instance F a a = Int
type instance F a b = Bool
Conflicting family instance declarations:
F k k a a -- Defined at T7524.hs:5:15
F k k1 a b -- Defined at T7524.hs:6:15
......@@ -83,3 +83,4 @@ test('T7404', normal, compile_fail,[''])
test('T7502', normal, compile,[''])
test('T7488', normal, compile,[''])
test('T7594', normal, compile_fail,[''])
test('T7524', 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