chore(library/init/lean/parser/parser): missing space

This commit is contained in:
Leonardo de Moura 2019-07-16 13:10:07 -07:00
parent 8a11c8509e
commit a52f67cea8

View file

@ -89,7 +89,7 @@ private def expectedToString : List String → String
protected def toString (e : Error) : String :=
let unexpected := if e.unexpected == "" then [] else ["unexpected " ++ e.unexpected];
let expected := if e.expected == [] then [] else ["expected " ++ expectedToString e.expected];
";".intercalate $ unexpected ++ expected
"; ".intercalate $ unexpected ++ expected
instance : HasToString Error := ⟨Error.toString⟩