Skip to content
Snippets Groups Projects
Commit c7bcd017 authored by Ben Gamari's avatar Ben Gamari
Browse files

Add HasDebugCallStack to unionLists

This should help identify a few cases where this is throwing warnings
parent 272246bf
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ deleteBys eq xs ys = foldl' (flip (deleteBy eq)) xs ys
-- | Assumes that the arguments contain no duplicates
unionLists :: (Outputable a, Eq a) => [a] -> [a] -> [a]
unionLists :: (HasDebugCallStack, Outputable a, Eq a) => [a] -> [a] -> [a]
-- We special case some reasonable common patterns.
unionLists xs [] = xs
unionLists [] ys = ys
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment