on master help sign in
handle overlapping imports again
commit8dfdde748a7d4711c0242a82222efbc11307344f authorEvan Czaplicki <evancz@users.noreply.github.com> dateFri 17 Jan 2020, 21:03 (7 years ago) parent4867618
1 file changed+1−1
compiler/src/Canonicalize/Environment.hs+1−1
compiler/src/Canonicalize/Environment.hs+1−1
@@ -81,7 +81,7 @@ mergeInfo info1 info2 =
8181 case info1 of
8282 Specific h1 _ ->
8383 case info2 of
84− Specific h2 _ -> Ambiguous h1 (OneOrMore.one h2)
84+ Specific h2 _ -> if h1 == h2 then info1 else Ambiguous h1 (OneOrMore.one h2)
8585 Ambiguous h2 hs2 -> Ambiguous h1 (OneOrMore.more (OneOrMore.one h2) hs2)
8686
8787 Ambiguous h1 hs1 ->