Skip to content
This repository was archived by the owner on Apr 2, 2020. It is now read-only.

Conversation

@dcci
Copy link
Contributor

@dcci dcci commented Jul 11, 2019

…elf`.

Presumably there was a time where these were needed, but this is not true
anymore. I'm mainly motivated by the fact that every time I stop in
the expression parser hitting all this dead code I lose focus, but
this is generally good for readability and maintanability in general.

…elf`.

Presumably there was a time where these were needed, but this is not true
anymore. I'm mainly motivated by the fact that every time I stop in
the expression parser hitting all this dead code I lose focus, but
this is generally good for readability and maintanability in general.
@dcci
Copy link
Contributor Author

dcci commented Jul 11, 2019

@swift-ci test and merge

auto *stack_frame = stack_frame_sp.get();
imported_self_type =
swift_runtime->DoArchetypeBindingForType(*stack_frame,
imported_self_type);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we overwrite imported_self_type, might be a good thing to assert that the archtetype binding succeeded (assert(imported_type_type.isValid());)

@JDevlieghere
Copy link
Member

@swift-ci test and merge

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants