error-message-catalog
error-message-catalog copied to clipboard
Compiler hint for toString
The error message for trying to use toString
to convert an Int
to a String
currently reads like this:
This seems like it could be a common enough mistake to give a more helpful error message indicating Basics.toString
is no longer available, and maybe they meant Debug.toString
, String.fromInt
, or String.fromFloat
.
I stumbled on this today and it took me quite a while to figure out what was going on.
Same here. All the tutorials out there are just specifying toString
without any classifiers. Very frustrating to get into Elm when not even the basic tutorials will compile on your machine.
Thank you! Couldnt find String.fromInt anywhere :)