-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
typealias for function signature on multiple lines ignores all but 1st line #1148
Comments
For now you'll need to include all the declaration on the same line. It's going wrong due to a cascade of historical Swift bugs unfortunately:
SR-6321 was fixed in Swift 4.2 so we could maybe remove the workaround now? Each time I've tried to fix 896 a new problem in the Swift compiler has got in the way - will make my annual attempt this week and see how Swift 5.1 is. |
Oh man that sounds way more horrible than I would've expected. Fingers crossed! |
Fixed the 'truncated' part; remaining 'should be on two lines' part is tracked by 896. |
Great, it works now 🙌 Thanks |
Here's what we have in ReSwift, a typealias on 2 lines:
Here's what jazzy generates:
(See our docs)
I tried this with a clean install of the latest 0.13.0 and the result is the same.
The text was updated successfully, but these errors were encountered: