Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Fix #237 #243

Merged
merged 1 commit into from
Dec 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Development/IDE/Spans/Calculate.hs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ getSpanInfo mods tcm =
where cmp (_,a,_) (_,b,_)
| a `isSubspanOf` b = LT
| b `isSubspanOf` a = GT
| otherwise = EQ
| otherwise = compare (srcSpanStart a) (srcSpanStart b)

getExports :: TypecheckedModule -> [(SpanSource, SrcSpan, Maybe Type)]
getExports m
Expand Down
4 changes: 2 additions & 2 deletions test/exe/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -810,9 +810,9 @@ findDefinitionAndHoverTests = let
, test yes broken clL23 cls "class in instance declaration"
, test yes broken clL25 cls "class in signature" -- 147
, test broken broken eclL15 ecls "external class in signature"
, test yes broken dnbL29 dnb "do-notation bind" -- 137
, test yes yes dnbL29 dnb "do-notation bind" -- 137
, test yes yes dnbL30 dnb "do-notation lookup"
, test yes broken lcbL33 lcb "listcomp bind" -- 137
, test yes yes lcbL33 lcb "listcomp bind" -- 137
, test yes yes lclL33 lcb "listcomp lookup"
]
where yes, broken :: (TestTree -> Maybe TestTree)
Expand Down