wz1000 / HieDb

Generates a references DB from .hie files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tests fail with GHC 9.2.4

sternenseemann opened this issue · comments


Failures:

  test/Main.hs:306:15:
  1) hiedb, Command line, point-types, Prints types of symbol under cursor
       expected: "Int -> Bool\nforall a. Integral a => a -> Bool\n"
        but got: "forall a. Integral a => a -> Bool\n"

  To rerun use: --match "/hiedb/Command line/point-types/Prints types of symbol under cursor/"

  test/Main.hs:306:15:
  2) hiedb, Command line, point-info, correctly prints type signatures
       expected: "Span: test/data/Module1.hs:10:8-11\nConstructors: {(XExpr, HsExpr), (HsVar, HsExpr)}\nIdentifiers:\nSymbol:v:even:GHC.Real:base\neven defined at <no location info>\n    Details:  Just forall a. Integral a => a -> Bool {usage}\n$dIntegral defined at <no location info>\n    Details:  Just Integral Int {usage of evidence variable}\nTypes:\nInt -> Bool\nforall a. Integral a => a -> Bool\n\n"
        but got: "Span: test/data/Module1.hs:10:8-11\nConstructors: {(XExpr, HsExpr), (HsVar, HsExpr)}\nIdentifiers:\nSymbol:v:even:GHC.Real:base\neven defined at <no location info>\n    Details:  Just forall a. Integral a => a -> Bool {usage}\n$dIntegral defined at <no location info>\n    Details:  Just Integral Int {usage of evidence variable}\nTypes:\nforall a. Integral a => a -> Bool\n\n"

  To rerun use: --match "/hiedb/Command line/point-info/correctly prints type signatures/"

Randomized with seed 1857096962

cc @fendor

CI has been resurrected and tests are now passing with all GHCs 9.0 - 9.8 so this can be closed @wz1000