[Git][ghc/ghc][wip/aidylns/ttg-remove-hsunboundvar-via-hshole] Fix hard_hole_fits test expected stderr output for HsHole
Adriaan Leijnse (@aidylns)
gitlab at gitlab.haskell.org
Tue Jul 2 09:34:13 UTC 2024
Adriaan Leijnse pushed to branch wip/aidylns/ttg-remove-hsunboundvar-via-hshole at Glasgow Haskell Compiler / GHC
Commits:
a3ccd9de by Adriaan Leijnse at 2024-07-02T11:32:44+02:00
Fix hard_hole_fits test expected stderr output for HsHole
- - - - -
1 changed file:
- testsuite/tests/perf/compiler/hard_hole_fits.stderr
Changes:
=====================================
testsuite/tests/perf/compiler/hard_hole_fits.stderr
=====================================
@@ -18,14 +18,12 @@ hard_hole_fits.hs:14:22: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)]
(imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20
(and originally defined in ‘GHC.Internal.Enum’))
-hard_hole_fits.hs:15:32: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)]
- • Found hole: _ :: Int
- • In an equation for ‘testMe’: testMe (HsUnboundVar xuv uv) = _
- • Relevant bindings include
- uv :: GHC.Types.Name.Reader.RdrName
- (bound at hard_hole_fits.hs:15:26)
- xuv :: Language.Haskell.Syntax.Extension.XUnboundVar GhcPs
- (bound at hard_hole_fits.hs:15:22)
+hard_hole_fits.hs:15:21: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)]
+ Found hole: _ :: Int
+ In an equation for ‘testMe’: testMe (HsHole a) = _
+ Relevant bindings include
+ a :: Language.Haskell.Syntax.Extension.XHole GhcPs
+ (bound at hard_hole_fits.hs:15:16)
testMe :: HsExpr GhcPs -> Int (bound at hard_hole_fits.hs:14:1)
Valid hole fits include
maxBound :: forall a. Bounded a => a
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a3ccd9de2c13a898f662b647796e761a7dbe9201
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a3ccd9de2c13a898f662b647796e761a7dbe9201
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240702/6e687853/attachment-0001.html>
More information about the ghc-commits
mailing list