Skip to content

Tests fail with GHC 9.2.4 #46

@sternenseemann

Description

@sternenseemann

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions