on master help sign in
Get rid of the "is it misspelled?" question
commit9d98b599f4e57824550245344a27de3b5a9f15f8 authorEvan Czaplicki <info@elm-lang.org> dateTue 5 May 2015, 15:48 (11 years ago) parentae7e6bd
1 file changed+1−2
src/Type/Unify.hs+1−2
src/Type/Unify.hs+1−2
@@ -352,8 +352,7 @@ fieldMismatchError missingFields =
352352 case Map.keys missingFields of
353353 [] -> ""
354354 [key] ->
355− "Looks like a record is missing the field '" ++ key ++ "'.\n"
356− ++ "Maybe there is a misspelling?"
355+ "Looks like a record is missing the field '" ++ key ++ "'"
357356 keys ->
358357 "Looks like a record is missing fields "
359358 ++ List.intercalate ", " (init keys) ++ ", and " ++ last keys