Commit 3b6d57fa authored by Krzysztof Gogolewski's avatar Krzysztof Gogolewski
Browse files

Test #8412

parent 6584d736
{-# LANGUAGE TemplateHaskell #-}
import Language.Haskell.TH
type T = $(return $ LitT $ NumTyLit (-1))
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
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