Skip to content

Runtime: Fix swift_getAssociatedTypeWitnessRelativeSlowImpl for MetadataOrPack change #64349

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

Conversation

aschwaighofer
Copy link
Contributor

@aschwaighofer aschwaighofer commented Mar 14, 2023

rdar://106702956

@aschwaighofer
Copy link
Contributor Author

@swift-ci smoke test

@aschwaighofer aschwaighofer merged commit ba90437 into swiftlang:main Mar 14, 2023
@aschwaighofer
Copy link
Contributor Author

This fixed a compile error when building in this config: #64361

stdlib/public/runtime/Metadata.cpp:6264:17: error: no matching function for call to 'swift_getTypeByMangledName'                                     
  auto result = swift_getTypeByMangledName(                                                                                                                                                                                                         
                ^~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                                                                                                                                          
stdlib/public/runtime/../CompatibilityOverride/../runtime/Private.h:474:31: note: candidate function not viable: no known conversion from '(lambda at stdlib/public/runtime/Metadata.cpp:6266:7)' to 'SubstGenericParameterFn' (aka 'function<const void *(unsigned int, unsigned int)>') for 4th argument 
TypeLookupErrorOr<TypeInfo> swift_getTypeByMangledName(                                                                                                                                                                                           
                              ^                                                                                                                                                                                                                     
1 error generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant