nicklockwood / SwiftFormat

A command-line tool and Xcode Extension for formatting Swift code
MIT License
7.67k stars 623 forks source link

redundantOptionalBinding raising error #1562

Open xDhii opened 8 months ago

xDhii commented 8 months ago

When I enable the "redundantOptionalBinding", SwiftFormat stops working and an error is raised (I don't know how to get the full error) If I disable this option, everything works fine

image

nicklockwood commented 8 months ago

Can you share the file that you were attempting to format? Also, are you able to reproduce this error using the command-line version of SwiftFormat?