Skip to content

bug(fmt): invalid output with empty try-catch stmt and trailing cmnt #12240

@0xrusowsky

Description

@0xrusowsky

Component

Forge

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

No response

What version of Foundryup are you on?

No response

What command(s) is the bug in?

No response

Operating System

None

Describe the bug

user reported diff:

129      |-                } catch {} // Section does not exist, ignore.
    130  |+                } catch { // Section does not exist, ignore.}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Completed

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions