Print target function name

This commit is contained in:
Jeroen Engels 2021-03-01 20:06:29 +01:00
parent 2da8367965
commit 362a192665

View File

@ -210,7 +210,7 @@ finalProjectEvaluation target projectContext =
else
[ Rule.globalError
{ message = "Could not find " ++ String.join "." target.moduleName
{ message = "Could not find " ++ String.join "." target.moduleName ++ "." ++ target.name
, details =
[ "I want to provide guarantees on the use of this function, but I can't find it. It is likely that it was renamed, which prevents me from giving you these guarantees."
, "You should rename it back or update this rule to the new name. If you do not use the function anymore, remove the rule."