blob: 2b1dfb96be4efbf7329ff3e8608654fb684db160 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
T7276.hs:6:5: error:
• Exception when trying to run compile-time code:
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 |])
(deferred type error)
Code: ([d| y = 3 |])
• In the untyped splice: $([d| y = 3 |])
|