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

TH_StaticPointers02.hs:11:34: 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) |])