Make error message name more clear
This error is for when folks say (Just) rather than (Maybe(..))
It does not mean it wasn’t found. Just that it should be imported in a
different way.
commit78f5dc4d79a328f37bdad08e44e3e0e25aafdfe2
authorEvan Czaplicki <evancz@users.noreply.github.com>
dateTue 19 Dec 2017, 18:41 (9 years ago)
parent5d3f945
src/Canonicalize/Environment/Foreign.hs+1−1
@@ -353,7 +353,7 @@ throwExposingNotFound moduleName region name (I.Interface types unions aliases _
353353 in
354354 case Map.lookup name ctorDict of
355355 Just tipe ->
356− Result.throw $ Error.ImportCtorNotFound region name tipe
356+ Result.throw $ Error.ImportCtorByName region name tipe
357357
358358 Nothing ->
359359 Result.throw $ Error.ImportExposingNotFound region moduleName name $