[go: up one dir, main page]

Skip to content

Build failure with ghc-9.0.2: `Not in scope: type variable ‘fld’` from src/FIR/Prim/Types.hs:313

Hello, trying to build fir with ghc-9.0.2 fails with:

[ 66 of 129] Compiling FIR.Prim.Types

src/FIR/Prim/Types.hs:313:38: error:
    Not in scope: type variable ‘fld’
    |
313 | type MapPrimTySing :: forall (as :: [fld :-> Type]) -> SKPrimTyMap as
    |               

Building with ghc-9.2.4 works though. Maybe a lower-bound could be adjusted to prevent the failure?