on master help sign in
Make error message name more clear
78f5dc4Evan Czaplicki
src/Canonicalize/Environment/Foreign.hs+1−1
@@ -353,7 +353,7 @@ throwExposingNotFound moduleName region name (I.Interface types unions aliases _
353 in
353 in
354 case Map.lookup name ctorDict of
354 case Map.lookup name ctorDict of
355 Just tipe ->
355 Just tipe ->
356− Result.throw $ Error.ImportCtorNotFound region name tipe
356+ Result.throw $ Error.ImportCtorByName region name tipe
357
357
358 Nothing ->
358 Nothing ->
359 Result.throw $ Error.ImportExposingNotFound region moduleName name $
359 Result.throw $ Error.ImportExposingNotFound region moduleName name $