Skip to content

Unify how local variables' types are resolved in the Swift expression… #2272

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

Merged

Conversation

adrian-prantl
Copy link

… parser

and document why this code is as it is.

… parser

and document why this code is as it is.
@adrian-prantl
Copy link
Author

@swift-ci test

CompilerType result = valobj_sp->GetCompilerType();
if (use_dynamic_value)
result = runtime->BindGenericTypeParameters(*stack_frame_sp, result);
if (!result.GetTypeSystem()->SupportsLanguage(lldb::eLanguageTypeSwift))

Choose a reason for hiding this comment

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

Should this check happen before the BindGenericTypeParameters call?

@adrian-prantl adrian-prantl merged commit 870b243 into swiftlang:swift/release/5.4 Jan 5, 2021
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.

2 participants