Skip to content

AST: Fix memory corruption in TypeAliasType::get() #26807

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
merged 1 commit into from
Aug 23, 2019

Conversation

slavapestov
Copy link
Contributor

The type alias might not have a generic signature set yet, so we have to
use the generic signature in the substitution map.

Yay for un-request-ified decl checking!

Caught by ASAN - rdar://problem/54637931.

The type alias might not have a generic signature set yet, so we have to
use the generic signature in the substitution map.

Yay for un-request-ified decl checking!

Caught by ASAN - <rdar://problem/54637931>.
@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test

Copy link
Contributor

@aschwaighofer aschwaighofer left a comment

Choose a reason for hiding this comment

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

lg

@slavapestov slavapestov merged commit 2e2e577 into swiftlang:master Aug 23, 2019
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