Merge pull request #1176 from elm-lang/dev
Fix a grammar error in type error message
commitfb5c30b852bcd51da18fa5f015290cfe98fa3bab
authorEvan Czaplicki <info@elm-lang.org>
dateTue 17 Nov 2015, 12:18 (11 years ago)
parentb9f3244069f1db
src/Reporting/Error/Type.hs+1−1
@@ -156,7 +156,7 @@ mismatchToReport localizer (MismatchInfo hint leftType rightType maybeReason) =
156156 Nothing
157157 "This condition does not evaluate to a boolean value, True or False."
158158 ( cmpHint
159− "You have given me an condition with this type:"
159+ "You have given me a condition with this type:"
160160 "But I need it to be:"
161161 [ "Elm does not have \"truthiness\" such that ints and strings and lists\
162162 \ are automatically converted to booleans. Do that conversion explicitly."