<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">never mind. i see that's it's been discussed and there's a ticket <a href="https://gitlab.haskell.org/ghc/ghc/-/issues/21633">https://gitlab.haskell.org/ghc/ghc/-/issues/21633</a> and a related MR <a href="https://gitlab.haskell.org/ghc/ghc/-/merge_requests/8332">https://gitlab.haskell.org/ghc/ghc/-/merge_requests/8332</a>.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 24, 2022 at 5:34 PM Shayne Fletcher <<a href="mailto:shayne.fletcher.50@gmail.com">shayne.fletcher.50@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">i've found for the last couple of weeks, the 9.4 branch fails to build with the following error. is this known? a fix in the works?</div><div class="gmail_default" style="font-family:tahoma,sans-serif">```<br>libraries/bytestring/Data/ByteString/Internal.hs:292:23: error:<br> • Couldn't match type ‘m’ with ‘TH.Q’<br> ‘m’ is a rigid type variable bound by<br> the type signature for:<br> TH.lift :: forall (m :: * -> *).<br> TH.Quote m =><br> ByteString -> m TH.Exp<br> at libraries/bytestring/Data/ByteString/Internal.hs:292:3-6<br> Expected type: m TH.Exp<br> Actual type: TH.Q TH.Exp<br> • In the expression:<br> [| unsafePackLenLiteral |]<br> `TH.appE` TH.litE (TH.integerL (fromIntegral len))<br> `TH.appE`<br> TH.litE (TH.BytesPrimL $ TH.Bytes ptr 0 (fromIntegral len))<br> In an equation for ‘TH.lift’:<br> TH.lift (BS ptr len)<br> = [| unsafePackLenLiteral |]<br> `TH.appE` TH.litE (TH.integerL (fromIntegral len))<br> `TH.appE`<br> TH.litE (TH.BytesPrimL $ TH.Bytes ptr 0 (fromIntegral len))<br> In the instance declaration for ‘TH.Lift ByteString’<br> • Relevant bindings include<br> lift :: ByteString -> m TH.Exp<br> (bound at libraries/bytestring/Data/ByteString/Internal.hs:292:3)<br> |<br>292 | lift (BS ptr len) = [| unsafePackLenLiteral |]<br> | ^^^^^^^^^^^^^^^^^^^^^^^^^^...<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">```</div><div><br></div>-- <br><div dir="ltr">Shayne Fletcher</div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Shayne Fletcher</div>