error-message-catalog
error-message-catalog copied to clipboard
Error message for UNKNOWN EXPORT
I propose to add line number to this error message. I guess I didn't read the message that good, so it confused me for some time not to find exactly where the problem is. And sometimes some files have longer headers and then it is also good to just be able to jump to the correct line.
-- UNKNOWN EXPORT ---------- File.elm
You are trying to expose a type named `X` but I cannot find its definition.
Maybe you want Y instead?
I forgot to add the file that triggered the error message.
Code:
module Lines exposing (test, unknown)
test : Int
test =
1
Error message:
-- UNKNOWN EXPORT ---------------------------------------------------- Lines.elm
You are trying to expose a value named `unknown` but I cannot find its
definition.
Maybe you want test instead?