We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be38a7f commit 50e0891Copy full SHA for 50e0891
builder/formatter.jule
@@ -1502,9 +1502,14 @@ impl exprFormatter {
1502
self.write("(")
1503
self.args(f)
1504
self.write(")")
1505
- if f.Ignored() {
+ match f.Exception {
1506
+ | nil:
1507
+ // no-op
1508
+ | ast::Ignored:
1509
self.write("!")
- } else if f.Exception != nil {
1510
+ | ast::Forwarded:
1511
+ self.write("?")
1512
+ |:
1513
self.write(" else { ... }")
1514
self.fmt.row = f.Exception.End.Row
1515
}
0 commit comments