kowainik / stan

🕵️ Haskell STatic ANalyser
https://kowainik.github.io/projects/stan
Mozilla Public License 2.0
562 stars 48 forks source link

Recent updates for new versions of `clay` maybe were wrong? #558

Closed michaelpj closed 4 months ago

michaelpj commented 4 months ago
src/Stan/Report/Css.hs:301:51: error: [GHC-83865]
    • Couldn't match expected type ‘Number’ with actual type ‘Double’
    • In the first argument of ‘em’, namely ‘x’
      In the first argument of ‘M.minWidth’, namely ‘(em x)’
      In the expression: M.minWidth (em x)
    |
301 |     mediaQuery x = query M.screen [M.minWidth (em x)]

...

Error: cabal: Failed to build stan-0.1.2.0
tomjaguarpaw commented 4 months ago

Whoops, yes, it was wrong. I've reverted that revision: https://hackage.haskell.org/package/stan-0.1.2.0/revisions/

This should now be resolved.

michaelpj commented 4 months ago

Confirmed, thanks!

tomjaguarpaw commented 4 months ago

Great, thanks for the report!