Dedent inline clause bodies before writing them #84
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/inline-clause-whitespace"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #76
Bodies indented inside the C annotation no longer leak that indentation into the proof document.
@ -14,0 +15,4 @@/** Removes the indentation shared by every line. */function dedent(body: string): string {const lines = body.replace(/^[ \t]*\r?\n/, '').split(/\r?\n/);while (lines.length > 0 && lines[lines.length - 1]?.trim() === '') {why are empty lines being filtered away 3 times in this one method?
on this line, line 22 and line 37