From 09630a4b1e5925d09aa350b0737494097b822c77 Mon Sep 17 00:00:00 2001 From: BK Date: Mon, 12 Apr 2021 11:32:18 +1000 Subject: [PATCH] Update hint when importing packages --- compiler/src/Reporting/Error/Import.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/src/Reporting/Error/Import.hs b/compiler/src/Reporting/Error/Import.hs index 91a9a5b0b..cfa772a5f 100644 --- a/compiler/src/Reporting/Error/Import.hs +++ b/compiler/src/Reporting/Error/Import.hs @@ -66,7 +66,8 @@ toReport source (Error region name unimportedModules problem) = Nothing -> D.toSimpleHint $ "If it is not a typo, check the \"dependencies\" and \"source-directories\"\ - \ of your elm.json to make sure all the packages you need are listed there!" + \ of your elm.json to make sure all the packages you need are listed there!\ + \ (e.g. You can install packages like this: `elm install elm/http`)" Just dependency -> D.toFancyHint