summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T18102.stderr
blob: d757c9735fd367a08fdc8d406b33fc9106991349 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

T18102.hs:11:22: error:
    • Not in scope: ‘ifThenElse’
    • In the Template Haskell quotation [|| if True then 10 else 15 ||]
      In the typed splice:
        $$(do _stuff <- [|| if True then 10 else 15 ||]
              return [])

T18102.hs:11:35: error:
    • Not in scope: ‘fromInteger’
    • In the Template Haskell quotation [|| if True then 10 else 15 ||]
      In the typed splice:
        $$(do _stuff <- [|| if True then 10 else 15 ||]
              return [])
    Suggested fix:
      Perhaps you want to add ‘fromInteger’ to the import list
      in the import of ‘Prelude’ (T18102.hs:5:1-50).

T18102.hs:11:43: error:
    • Not in scope: ‘fromInteger’
    • In the Template Haskell quotation [|| if True then 10 else 15 ||]
      In the typed splice:
        $$(do _stuff <- [|| if True then 10 else 15 ||]
              return [])
    Suggested fix:
      Perhaps you want to add ‘fromInteger’ to the import list
      in the import of ‘Prelude’ (T18102.hs:5:1-50).