blob: 8d6f54557641b0a27fd2fc5fd0e6354595ee511b (
plain)
1
2
3
4
5
6
7
8
|
T7276.hs:6:8:
Couldn't match type ‘[Language.Haskell.TH.Syntax.Dec]’
with ‘Language.Haskell.TH.Syntax.Exp’
Expected type: Language.Haskell.TH.Lib.ExpQ
Actual type: Language.Haskell.TH.Lib.DecsQ
In the expression: [d| y = 3 |]
In the splice: $([d| y = 3 |])
|