on master help sign in
Make it clearer that the suggestions are not all possible modules
12f395eEvan Czaplicki
compiler/src/Reporting/Error/Import.hs+2−2
@@ -56,8 +56,8 @@ toReport source (Error region name unimportedModules problem) =
56 D.stack
56 D.stack
57 [
57 [
58 D.reflow $
58 D.reflow $
59− "But I cannot find it! I checked the \"dependencies\" and \"source-directories\"\
59+ "I checked the \"dependencies\" and \"source-directories\" listend in your elm.json,\
60− \ listend in your elm.json, but the closest module names I could find were:"
60+ \ but I cannot find it! Maybe it is a typo for one of these names?"
61 ,
61 ,
62 D.dullyellow $ D.indent 4 $ D.vcat $
62 D.dullyellow $ D.indent 4 $ D.vcat $
63 map D.fromName (toSuggestions name unimportedModules)
63 map D.fromName (toSuggestions name unimportedModules)