Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
3b6d57fa
Commit
3b6d57fa
authored
Oct 05, 2013
by
Krzysztof Gogolewski
Browse files
Test #8412
parent
6584d736
Changes
2
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/th/T8412.hs
0 → 100644
View file @
3b6d57fa
{-# LANGUAGE TemplateHaskell #-}
import
Language.Haskell.TH
type
T
=
$
(
return
$
LitT
$
NumTyLit
(
-
1
))
testsuite/tests/th/T8412.stderr
0 → 100644
View file @
3b6d57fa
T8412.hs:5:12:
Illegal literal in type (type literals must not be negative): -1
In the result of the splice:
$(return $ LitT $ NumTyLit (- 1))
To see what the splice expanded to, use -ddump-splices
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment