JetBrains / Arend

The Arend Proof Assistant
https://arend-lang.github.io/
Apache License 2.0
694 stars 33 forks source link

Bug in pretty printer #213

Closed valis closed 4 years ago

valis commented 4 years ago

We should insert a space before a reference if it starts with - and the previous symbol is {. For example, the following code is printed incorrectly right now.

\func - (x : Nat) => x

\func f {x : Nat} => x

\func test => f {- 0}