You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This example does not trigger the unused_optional_binding:
func foo(){
if let _ = bar {}}
If you add this test case:
"func foo() {\nif let _ = bar {\n}\n"
You can see that the tests fail to pass. I believe this is because the if in this case is nested in the substructure of the func, which isn't handled by the current logic
This example does not trigger the unused_optional_binding:
If you add this test case:
You can see that the tests fail to pass. I believe this is because the
if
in this case is nested in the substructure of the func, which isn't handled by the current logic// @rakaramos
The text was updated successfully, but these errors were encountered: