Closed KS1019 closed 3 months ago
Looks good to me, now that we're on 5.7 as the minimum Swift version. Thanks, @KS1019!
@swift-ci Please test
We can merge this, but I personally really dislike this syntax because it doesn't work with property chaining. This becomes a deal breaker for me because explicit self
is a must imo.
@swift-ci test
CountLines.swift
uses the mix of the normal if-let and the shorthand. This PR changes the normal version to the shorthand to stay consistent.Checklist