blob: a17f7b3f35837ddce97d1b48290169bff80505f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
T7276.hs:6:5: error: [GHC-87897]
• Exception when trying to run compile-time code:
T7276.hs:6:8: error: [GHC-83865]
• 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 |])
|