Skip to content

Conversation

@kubamracek
Copy link
Contributor

@kubamracek kubamracek commented Oct 19, 2023

Looking for some guidance on this :) The immediate problem I observed is that in a class method, using Self ends up emitting a thick metadata instruction for the dynamic self type and that fails the current assert we have for embedded Swift. This particular case seems to be fixable by just allowing metadata emission on DynamicSelfType in IRGen, but I'm wondering if there's any other considerations for dynamic self we need to take into look into :)

Fixes rdar://117174867

@kubamracek
Copy link
Contributor Author

@swift-ci please test

@kubamracek kubamracek added the embedded Embedded Swift label Oct 19, 2023
@kubamracek
Copy link
Contributor Author

@swift-ci please test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

embedded Embedded Swift

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant