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