@@ -4111,6 +4111,7 @@ findDefinitionAndHoverTests = let
4111
4111
outL45 = Position 49 3 ; outSig = [ExpectHoverText [" outer" , " Bool" ], mkR 50 0 50 5 ]
4112
4112
innL48 = Position 52 5 ; innSig = [ExpectHoverText [" inner" , " Char" ], mkR 49 2 49 7 ]
4113
4113
holeL60 = Position 62 7 ; hleInfo = [ExpectHoverText [" _ ::" ]]
4114
+ holeL65 = Position 65 8 ; hleInfo2 = [ExpectHoverText [" _ :: a -> Maybe a" ]]
4114
4115
cccL17 = Position 17 16 ; docLink = [ExpectHoverText [" [Documentation](file:///" ]]
4115
4116
imported = Position 56 13 ; importedSig = getDocUri " Foo.hs" >>= \ foo -> return [ExpectHoverText [" foo" , " Foo" , " Haddock" ], mkL foo 5 0 5 3 ]
4116
4117
reexported = Position 55 14 ; reexportedSig = getDocUri " Bar.hs" >>= \ bar -> return [ExpectHoverText [" Bar" , " Bar" , " Haddock" ], mkL bar 3 0 3 14 ]
@@ -4165,6 +4166,11 @@ findDefinitionAndHoverTests = let
4165
4166
, test no yes outL45 outSig " top-level signature #767"
4166
4167
, test broken broken innL48 innSig " inner signature #767"
4167
4168
, test no yes holeL60 hleInfo " hole without internal name #831"
4169
+ , if ghcVersion >= GHC92 then
4170
+ -- Broken on GHC 9.2 and above due to printing of uniques
4171
+ test no yes holeL65 [] " hole with variable"
4172
+ else
4173
+ test no yes holeL65 hleInfo2 " hole with variable"
4168
4174
, test no skip cccL17 docLink " Haddock html links"
4169
4175
, testM yes yes imported importedSig " Imported symbol"
4170
4176
, testM yes yes reexported reexportedSig " Imported symbol (reexported)"
0 commit comments