intellij-arend
intellij-arend copied to clipboard
"Fill goal" works incorrectly in presence of ==<, >== and `qed
Invoke "Fill goal" on the following code:

Expected result:

Actual result:

Note that `qed
lost its `
. Also the last {?}
is after the qed
, not before it. These are bugs.
It's the pretty printer
I thought it just syntactically inserts the expression. Why does it invoke pretty printer?
Oh, sorry, I remembered it wrongly.
https://github.com/JetBrains/intellij-arend/blob/1c110f1081154aa297aeb8f3a0e8af0c48803965/src/main/kotlin/org/arend/quickfix/GoalFillingQuickFix.kt#L13