Commit 6b569623 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Further testsuite wibbles following changes to kind suppression

parent e6632902
data D1 where
MkD1 :: (forall (k :: BOX) (p :: k -> *) (a :: k).
p a -> Int) -> D1
MkD1 :: (forall (p :: k -> *) (a :: k). p a -> Int) -> D1
-- Defined at <interactive>:3:6
data D2 where
MkD2 :: (forall (p :: k -> *) (a :: k). p a -> Int) -> D2
......
T7786.hs:86:22:
Couldn't match type ‛xxx’ with ‛'Empty [KeySegment]
Couldn't match type ‛xxx’ with ‛'Empty’
Inaccessible code in
a pattern with constructor
Nil :: forall (k :: BOX). Sing (Inventory k) ('Empty k),
Nil :: Sing 'Empty,
in a pattern binding in
'do' block
In the pattern: Nil
......
T7967.hs:31:26:
Couldn't match type ‛'[] *’ with ‛(':) * h0 t0’
Couldn't match type ‛'[]’ with ‛h0 : t0’
Expected type: Index n l
Actual type: Index 'Zero ((':) * h0 t0)
Actual type: Index 'Zero (h0 : t0)
In the expression: IZero
In an equation for ‛sNatToIndex’: sNatToIndex SZero HNil = IZero
T7230.hs:48:32:
Could not deduce ((x :<<= x1) ~ 'True)
from the context (Increasing xs ~ 'True)
bound by the type signature for
crash :: Increasing xs ~ 'True => SList xs -> SBool (Increasing xs)
at T7230.hs:47:10-68
or from (xs ~ (x : xs1))
bound by a pattern with constructor
SCons :: forall (k :: BOX) (x :: k) (xs :: [k]).
Sing x -> Sing xs -> Sing (x : xs),
in an equation for ‛crash’
at T7230.hs:48:8-27
or from (xs1 ~ (x1 : xs2))
bound by a pattern with constructor
SCons :: forall (k :: BOX) (x :: k) (xs :: [k]).
Sing x -> Sing xs -> Sing (x : xs),
in an equation for ‛crash’
at T7230.hs:48:17-26
Expected type: SBool (Increasing xs)
Actual type: SBool (x :<<= x1)
Relevant bindings include
y :: Sing x1 (bound at T7230.hs:48:23)
x :: Sing x (bound at T7230.hs:48:14)
In the expression: x %:<<= y
In an equation for ‛crash’:
crash (SCons x (SCons y xs)) = x %:<<= y
T7230.hs:48:32:
Could not deduce ((x :<<= x1) ~ 'True)
from the context (Increasing xs ~ 'True)
bound by the type signature for
crash :: Increasing xs ~ 'True => SList xs -> SBool (Increasing xs)
at T7230.hs:47:10-68
or from (xs ~ (x : xs1))
bound by a pattern with constructor
SCons :: forall (x :: k) (xs :: [k]).
Sing x -> Sing xs -> Sing (x : xs),
in an equation for ‛crash’
at T7230.hs:48:8-27
or from (xs1 ~ (x1 : xs2))
bound by a pattern with constructor
SCons :: forall (x :: k) (xs :: [k]).
Sing x -> Sing xs -> Sing (x : xs),
in an equation for ‛crash’
at T7230.hs:48:17-26
Expected type: SBool (Increasing xs)
Actual type: SBool (x :<<= x1)
Relevant bindings include
y :: Sing x1 (bound at T7230.hs:48:23)
x :: Sing x (bound at T7230.hs:48:14)
In the expression: x %:<<= y
In an equation for ‛crash’:
crash (SCons x (SCons y xs)) = x %:<<= y
......@@ -14,7 +14,7 @@ TYPE CONSTRUCTORS
RecFlag NonRecursive, Promotable
= K2 :: forall a. a -> T2 a Stricts: _
FamilyInstance: none
T3 :: forall (k :: BOX). k -> *
T3 :: k -> *
data T3 (k::BOX) (a::k)
No C type associated
Roles: [nominal, phantom]
......@@ -35,14 +35,14 @@ TYPE CONSTRUCTORS
RecFlag NonRecursive, Promotable
= K5 :: forall a. a -> T5 a Stricts: _
FamilyInstance: none
T6 :: forall (k :: BOX). k -> *
T6 :: k -> *
data T6 (k::BOX) (a::k)
No C type associated
Roles: [nominal, phantom]
RecFlag NonRecursive, Not promotable
= K6 :: forall (k::BOX) (a::k). T6 k a
FamilyInstance: none
T7 :: forall (k :: BOX). k -> * -> *
T7 :: k -> * -> *
data T7 (k::BOX) (a::k) b
No C type associated
Roles: [nominal, phantom, representational]
......
TYPE SIGNATURES
TYPE CONSTRUCTORS
T :: forall (k :: BOX). k -> *
T :: k -> *
data T (k::BOX) (a::k)
No C type associated
Roles: [nominal, representational]
......
T2247.hs:6:10:
Illegal instance declaration for ‛FD a b’
The liberal coverage condition fails in class ‛FD’
for functional dependency: ‛x -> y’
Reason: ‛a’ do not jointly determine ‛b’
In the instance declaration for ‛FD a b’
T2247.hs:6:10:
Illegal instance declaration for ‛FD a b’
The liberal coverage condition fails in class ‛FD’
for functional dependency: ‛a -> b’
Reason: lhs type ‛a’ does not deternine rhs type ‛b’
In the instance declaration for ‛FD a b’
Markdown is supported
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