diff options
Diffstat (limited to 'testsuite/tests/th/TH_1tuple.stderr')
-rw-r--r-- | testsuite/tests/th/TH_1tuple.stderr | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/testsuite/tests/th/TH_1tuple.stderr b/testsuite/tests/th/TH_1tuple.stderr index 5e9d6c799d..bc7f25ad81 100644 --- a/testsuite/tests/th/TH_1tuple.stderr +++ b/testsuite/tests/th/TH_1tuple.stderr @@ -1,5 +1,7 @@ -TH_1tuple.hs:11:7: - Illegal 1-tuple type constructor - When splicing a TH expression: 1 :: () - In the untyped splice: $(sigE [| 1 |] (tupleT 1)) +TH_1tuple.hs:11:7: error: + • Expecting one more argument to ‘Unit’ + Expected a type, but ‘Unit’ has kind ‘* -> *’ + • In an expression type signature: Unit + In the expression: (1 :: Unit) + In an equation for ‘y’: y = (1 :: Unit) |