@@ -825,17 +825,17 @@ findDefinitionAndHoverTests = let
825 aaaL14 = Position 14 20 ; aaa = [mkR 7 0 7 3]
825 aaaL14 = Position 14 20 ; aaa = [mkR 7 0 7 3]
826 dcL7 = Position 7 11 ; tcDC = [mkR 3 23 5 16]
826 dcL7 = Position 7 11 ; tcDC = [mkR 3 23 5 16]
827 dcL12 = Position 12 11 ;
827 dcL12 = Position 12 11 ;
828− xtcL5 = Position 5 11 ; xtc = [ExpectExternFail]
828+ xtcL5 = Position 5 11 ; xtc = [ExpectExternFail, ExpectHoverText ["Int", "Defined in ‘GHC.Types’"]]
829− tcL6 = Position 6 11 ; tcData = [mkR 3 0 5 16]
829+ tcL6 = Position 6 11 ; tcData = [mkR 3 0 5 16, ExpectHoverText ["TypeConstructor", "GotoHover.hs:4:1"]]
830 vvL16 = Position 16 12 ; vv = [mkR 16 4 16 6]
830 vvL16 = Position 16 12 ; vv = [mkR 16 4 16 6]
831 opL16 = Position 16 15 ; op = [mkR 17 2 17 4]
831 opL16 = Position 16 15 ; op = [mkR 17 2 17 4]
832 opL18 = Position 18 22 ; opp = [mkR 18 13 18 17]
832 opL18 = Position 18 22 ; opp = [mkR 18 13 18 17]
833 aL18 = Position 18 20 ; apmp = [mkR 18 10 18 11]
833 aL18 = Position 18 20 ; apmp = [mkR 18 10 18 11]
834 b'L19 = Position 19 13 ; bp = [mkR 19 6 19 7]
834 b'L19 = Position 19 13 ; bp = [mkR 19 6 19 7]
835− xvL20 = Position 20 8 ; xvMsg = [ExpectHoverText ["Data.Text.pack", ":: String -> Text"], ExpectExternFail]
835+ xvL20 = Position 20 8 ; xvMsg = [ExpectExternFail, ExpectHoverText ["Data.Text.pack", ":: String -> Text"]]
836− clL23 = Position 23 11 ; cls = [mkR 21 0 22 20]
836+ clL23 = Position 23 11 ; cls = [mkR 21 0 22 20, ExpectHoverText ["MyClass", "GotoHover.hs:22:1"]]
837 clL25 = Position 25 9
837 clL25 = Position 25 9
838− eclL15 = Position 15 8 ; ecls = [ExpectHoverText ["Num"], ExpectExternFail]
838+ eclL15 = Position 15 8 ; ecls = [ExpectExternFail, ExpectHoverText ["Num", "Defined in ‘GHC.Num’"]]
839 dnbL29 = Position 29 18 ; dnb = [ExpectHoverText [":: ()"], mkR 29 12 29 21]
839 dnbL29 = Position 29 18 ; dnb = [ExpectHoverText [":: ()"], mkR 29 12 29 21]
840 dnbL30 = Position 30 23
840 dnbL30 = Position 30 23
841 lcbL33 = Position 33 26 ; lcb = [ExpectHoverText [":: Char"], mkR 33 26 33 27]
841 lcbL33 = Position 33 26 ; lcb = [ExpectHoverText [":: Char"], mkR 33 26 33 27]
@@ -852,24 +852,24 @@ findDefinitionAndHoverTests = let
852 , test yes yes aaaL14 aaa "top-level name" -- 120
852 , test yes yes aaaL14 aaa "top-level name" -- 120
853 , test broken broken dcL7 tcDC "data constructor record #247"
853 , test broken broken dcL7 tcDC "data constructor record #247"
854 , test yes yes dcL12 tcDC "data constructor plain" -- 121
854 , test yes yes dcL12 tcDC "data constructor plain" -- 121
855− , test yes broken tcL6 tcData "type constructor #249" -- 147
855+ , test yes yes tcL6 tcData "type constructor #248" -- 147
856− , test broken broken xtcL5 xtc "type constructor external #249"
856+ , test broken yes xtcL5 xtc "type constructor external #248,249"
857 , test broken yes xvL20 xvMsg "value external package #249" -- 120
857 , test broken yes xvL20 xvMsg "value external package #249" -- 120
858 , test yes yes vvL16 vv "plain parameter" -- 120
858 , test yes yes vvL16 vv "plain parameter" -- 120
859 , test yes yes aL18 apmp "pattern match name" -- 120
859 , test yes yes aL18 apmp "pattern match name" -- 120
860 , test yes yes opL16 op "top-level operator" -- 120, 123
860 , test yes yes opL16 op "top-level operator" -- 120, 123
861 , test yes yes opL18 opp "parameter operator" -- 120
861 , test yes yes opL18 opp "parameter operator" -- 120
862 , test yes yes b'L19 bp "name in backticks" -- 120
862 , test yes yes b'L19 bp "name in backticks" -- 120
863− , test yes broken clL23 cls "class in instance declaration #250"
863+ , test yes yes clL23 cls "class in instance declaration #250"
864− , test yes broken clL25 cls "class in signature #250" -- 147
864+ , test yes yes clL25 cls "class in signature #250" -- 147
865− , test broken broken eclL15 ecls "external class in signature #249,250"
865+ , test broken yes eclL15 ecls "external class in signature #249,250"
866 , test yes yes dnbL29 dnb "do-notation bind" -- 137
866 , test yes yes dnbL29 dnb "do-notation bind" -- 137
867 , test yes yes dnbL30 dnb "do-notation lookup"
867 , test yes yes dnbL30 dnb "do-notation lookup"
868 , test yes yes lcbL33 lcb "listcomp bind" -- 137
868 , test yes yes lcbL33 lcb "listcomp bind" -- 137
869 , test yes yes lclL33 lcb "listcomp lookup"
869 , test yes yes lclL33 lcb "listcomp lookup"
870 , test yes yes mclL36 mcl "top-level fn 1st clause"
870 , test yes yes mclL36 mcl "top-level fn 1st clause"
871 , test yes yes mclL37 mcl "top-level fn 2nd clause #246"
871 , test yes yes mclL37 mcl "top-level fn 2nd clause #246"
872− , test no broken docL40 doc "documentation"
872+ , test no broken docL40 doc "documentation #7"
874 where yes, broken :: (TestTree -> Maybe TestTree)
874 where yes, broken :: (TestTree -> Maybe TestTree)
875 yes = Just -- test should run and pass
875 yes = Just -- test should run and pass