go/format: Source mishandles parens on malformed input #29593
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Found by go-fuzz, unlikely to occur in real code. Very low priority.
Result:
Observe the dropped parens pair.
If input is
"g(func()()())"
instead (extra parens pair), the result instead has misplaced parens:The text was updated successfully, but these errors were encountered: