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

[SwiftExpressionParser] Remove a bunch of hacks in the handling of `s… #1789

Open
wants to merge 1 commit into
base: stable
Choose a base branch
from

Conversation

dcci
Copy link
Member

@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
Member Author

dcci commented Jul 11, 2019

@swift-ci test and merge

@@ -550,52 +541,11 @@ AddRequiredAliases(Block *block, lldb::StackFrameSP &stack_frame_sp,
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
4 participants