Skip to content
This repository was 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
dcci wants to merge 1 commit into
apple:stablefrom
dcci:dead-self
Open

[SwiftExpressionParser] Remove a bunch of hacks in the handling of `s…#1789
dcci wants to merge 1 commit into
apple:stablefrom
dcci:dead-self

Conversation

@dcci

@dcci dcci commented Jul 11, 2019

Copy link
Copy Markdown
Contributor

…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

dcci commented Jul 11, 2019

Copy link
Copy Markdown
Contributor Author

@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
Copy Markdown
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
Copy Markdown
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