summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/TH_StaticPointers02.stderr
blob: 6a7fa4709855b789dcadec2ccac73e713f612bda (plain)
1
2
3
4
5
6
7
8
9
10
11
12

TH_StaticPointers02.hs:11:34: [GHC-12219] error:
    • static forms cannot be used in splices: static 'a'
    • In the untyped splice:
        $(case staticKey (static 'a') of
            Fingerprint w0 w1
              -> let
                   w0i = ...
                   w1i = ...
                 in
                   [| fmap (\ p -> deRefStaticPtr p :: Char) $ unsafeLookupStaticPtr
                        $ Fingerprint (fromIntegral w0i) (fromIntegral w1i) |])