revert-complexity #7

Merged
sashakoshka merged 34 commits from revert-complexity into main 2022-09-29 20:06:54 +00:00
Showing only changes of commit 7374de2633 - Show all commits

View File

@ -278,9 +278,13 @@ func (phrase Phrase) ToString (indent int, ownLine bool) (output string) {
output += "["
switch phrase.kind {
case
PhraseKindOperator,
PhraseKindAssign:
case PhraseKindCase:
output += ":"
case PhraseKindAssign:
output += "="
case PhraseKindOperator:
switch phrase.operator {
case lexer.TokenKindColon: