summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/T15368.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_compile/T15368.stderr')
-rw-r--r--testsuite/tests/typecheck/should_compile/T15368.stderr45
1 files changed, 45 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_compile/T15368.stderr b/testsuite/tests/typecheck/should_compile/T15368.stderr
new file mode 100644
index 0000000000..36650d0506
--- /dev/null
+++ b/testsuite/tests/typecheck/should_compile/T15368.stderr
@@ -0,0 +1,45 @@
+
+T15368.hs:9:15: warning: [-Wtyped-holes (in -Wdefault)]
+ • Found hole: _ :: (F a b, F a0 b0)
+ Where: ‘a0’ is an ambiguous type variable
+ ‘b0’ is an ambiguous type variable
+ ‘a’, ‘b’ are rigid type variables bound by
+ the type signature for:
+ trigger :: forall a b. a -> b -> (F a b, F b a)
+ at T15368.hs:8:1-35
+ • In the first argument of ‘transitive’, namely ‘_’
+ In the expression: _ `transitive` trigger _ _
+ In an equation for ‘trigger’:
+ trigger _ _ = _ `transitive` trigger _ _
+ • Relevant bindings include
+ trigger :: a -> b -> (F a b, F b a) (bound at T15368.hs:9:1)
+
+T15368.hs:9:15: warning: [-Wdeferred-type-errors (in -Wdefault)]
+ • Couldn't match type ‘F b a’ with ‘F b0 a0’
+ Expected type: (F a b, F b a)
+ Actual type: (F a b, F b0 a0)
+ NB: ‘F’ is a non-injective type family
+ The type variables ‘b0’, ‘a0’ are ambiguous
+ • In the expression: _ `transitive` trigger _ _
+ In an equation for ‘trigger’:
+ trigger _ _ = _ `transitive` trigger _ _
+ • Relevant bindings include
+ trigger :: a -> b -> (F a b, F b a) (bound at T15368.hs:9:1)
+
+T15368.hs:9:38: warning: [-Wtyped-holes (in -Wdefault)]
+ • Found hole: _ :: a0
+ Where: ‘a0’ is an ambiguous type variable
+ • In the first argument of ‘trigger’, namely ‘_’
+ In the second argument of ‘transitive’, namely ‘trigger _ _’
+ In the expression: _ `transitive` trigger _ _
+ • Relevant bindings include
+ trigger :: a -> b -> (F a b, F b a) (bound at T15368.hs:9:1)
+
+T15368.hs:9:40: warning: [-Wtyped-holes (in -Wdefault)]
+ • Found hole: _ :: b0
+ Where: ‘b0’ is an ambiguous type variable
+ • In the second argument of ‘trigger’, namely ‘_’
+ In the second argument of ‘transitive’, namely ‘trigger _ _’
+ In the expression: _ `transitive` trigger _ _
+ • Relevant bindings include
+ trigger :: a -> b -> (F a b, F b a) (bound at T15368.hs:9:1)