on master help sign in
Fix extra space in error message
commit5b6773c3ec97a73a2fcd8f786bd5338f6a2a6c61 authorEvan Czaplicki <info@elm-lang.org> dateThu 8 Aug 2013, 18:05 (13 years ago) parentd55e960
1 file changed+2−2
compiler/Transform/Check.hs+2−2
compiler/Transform/Check.hs+2−2
@@ -39,8 +39,8 @@ duplicates defs =
3939 dups = map head . filter ((>1) . length) . List.group
4040
4141 msg = "Syntax Error: There can only be one "
42− defMsg x = msg ++ " definition of '" ++ x ++ "'."
43− annMsg x = msg ++ " type annotation for '" ++ x ++ "'."
42+ defMsg x = msg ++ "definition of '" ++ x ++ "'."
43+ annMsg x = msg ++ "type annotation for '" ++ x ++ "'."
4444
4545
4646badOrder :: [Def t v] -> [String]