on master help sign in
Make the error message more demanding
commit5382c9db80aca4d917fcb6d4f68b131bbb27c295 authorEvan Czaplicki <info@elm-lang.org> dateTue 27 Oct 2015, 19:56 (11 years ago) parent095205a
1 file changed+5−3
src/Type/State.hs+5−3
src/Type/State.hs+5−3
@@ -183,9 +183,11 @@ makeCopyHelp descriptor alreadyCopiedMark variable =
183183 return copiedVariable
184184
185185 Nothing ->
186− error $
187− "Error copying type variable. This should be impossible." ++
188− " Please report an error to <https://github.com/elm-lang/elm-compiler/issues>!"
186+ error
187+ "Error copying type variable. This should be impossible.\
188+ \ Please report this at <https://github.com/elm-lang/elm-compiler/issues>\
189+ \ with a <http://sscce.org> and information on your OS, how you installed,\
190+ \ and any other configuration information that might be helpful."
189191
190192 else if _rank descriptor /= noRank || not (needsCopy (_content descriptor)) then
191193 return variable