agrafix / superrecord

Haskell: Supercharged anonymous records
BSD 3-Clause "New" or "Revised" License
83 stars 16 forks source link

Build failure with GHC 8.2 #3

Closed snoyberg closed 7 years ago

snoyberg commented 7 years ago
[1 of 1] Compiling SuperRecord      ( src/SuperRecord.hs, dist/build/SuperRecord.o )

src/SuperRecord.hs:112:34: error:
    Not in scope: type constructor or class ‘Any’
    Perhaps you want to add ‘Any’ to the import list in the import of
    ‘GHC.Base’ (src/SuperRecord.hs:65:1-25).
    |
112 |    = Rec { _unRec :: SmallArray# Any } -- Note that the values are physically in reverse order
    |                                  ^^^

src/SuperRecord.hs:178:41: error:
    Not in scope: type constructor or class ‘Any’
    Perhaps you want to add ‘Any’ to the import list in the import of
    ‘GHC.Base’ (src/SuperRecord.hs:65:1-25).
    |
178 |         -> SmallMutableArray# RealWorld Any
    |                                         ^^^

src/SuperRecord.hs:310:19: error:
    Not in scope: type constructor or class ‘Any’
    Perhaps you want to add ‘Any’ to the import list in the import of
    ‘GHC.Base’ (src/SuperRecord.hs:65:1-25).
    |
310 |         anyVal :: Any
    |                   ^^^

src/SuperRecord.hs:330:19: error:
    Not in scope: type constructor or class ‘Any’
    Perhaps you want to add ‘Any’ to the import list in the import of
    ‘GHC.Base’ (src/SuperRecord.hs:65:1-25).
    |
330 |         dynVal :: Any
    |                   ^^^