-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Fix "Undefined symbol" linker error with default argument for inherited initializer #7171
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
Fix "Undefined symbol" linker error with default argument for inherited initializer #7171
Conversation
@swift-ci Please test |
Build failed |
Build failed |
Ah, I forgot to use the old mangling again. |
…wiftlang#7169) In cases where a default value is used for a parameter with generic type, the argument list might be empty. In that case, we don't need to emit any arguments!
…wiftlang#7156) It was checking the wrong predicate, and therefore failing to mark inherited default arguments as actually being inherited. While here, explicitly clear out default arguments from non-inherited cloned parameter lists. I don't think this case can come up today, but it's better to be correct when we do hit it. rdar://problem/30167924
89bfedb
to
822c979
Compare
@swift-ci Please test |
Build failed |
Build failed |
@bcardosolopes, look familiar? |
@swift-ci Please test macOS |
@jrose-apple, never seen this one - looks like some inconsistency in ModuleMgr. Is this reproducible? any chance to give it a try with a clean cache? |
This is the first time I've seen it, and the retest didn't reproduce it. Guess we'll have to leave it for now. Sorry! |
@jrose-apple np, thanks for pointing out though! |
Uh oh!
There was an error while loading. Please reload this page.