Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pcf-font 0.2.2.1 #7247

Open
alexeyzab opened this issue Dec 27, 2023 · 0 comments
Open

pcf-font 0.2.2.1 #7247

alexeyzab opened this issue Dec 27, 2023 · 0 comments

Comments

@alexeyzab
Copy link
Contributor

      Preprocessing library for pcf-font-0.2.2.1..
       Building library for pcf-font-0.2.2.1..
       [2 of 2] Compiling Graphics.Text.PCF

       /home/curators/work/unpack-dir/unpacked/pcf-font-0.2.2.1-237a0e6b6ecaf2dd5f39a9797a90083e42b3b0b8619dda8525492914351dda06/src/Graphics/Text/PCF.hs:106:58: error: [GHC-87543]
           Ambiguous occurrence ‘!?’.
           It could refer to
              either ‘Data.List.!?’,
                     imported from ‘Data.List’ at src/Graphics/Text/PCF.hs:66:1-16
                     (and originally defined in ‘GHC.List’),
                  or ‘Data.Vector.!?’,
                     imported from ‘Data.Vector’ at src/Graphics/Text/PCF.hs:72:21-24.
           |
       106 |         offset      <- fromIntegral <$> (bitmaps_offsets !? glyph_index)
           |                                                          ^^

       /home/curators/work/unpack-dir/unpacked/pcf-font-0.2.2.1-237a0e6b6ecaf2dd5f39a9797a90083e42b3b0b8619dda8525492914351dda06/src/Graphics/Text/PCF.hs:107:42: error: [GHC-87543]
           Ambiguous occurrence ‘!?’.
           It could refer to
              either ‘Data.List.!?’,
                     imported from ‘Data.List’ at src/Graphics/Text/PCF.hs:66:1-16
                     (and originally defined in ‘GHC.List’),
                  or ‘Data.Vector.!?’,
                     imported from ‘Data.Vector’ at src/Graphics/Text/PCF.hs:72:21-24.
           |
       107 |         m@Metrics{..} <- metrics_metrics !? glyph_index
           |                                          ^^

Saw this error when trying to upgrade Nightly to GHC 9.8.1. cc @michael-swan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant