Skip to content

Update ConstraintSystem::dump to check hasType before calling getType. #14774

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
Feb 22, 2018
Merged

Update ConstraintSystem::dump to check hasType before calling getType. #14774

merged 1 commit into from
Feb 22, 2018

Conversation

rudkx
Copy link
Contributor

@rudkx rudkx commented Feb 21, 2018

We assert if the type isn't in the cache, so we need to check that
before attempting to fetch the type, and return Type() if we
do not have it in the cache.

We assert if the type isn't in the cache, so we need to check that
before attempting to fetch the type, and return Type() if we
do not have it in the cache.
@rudkx
Copy link
Contributor Author

rudkx commented Feb 21, 2018

@swift-ci Please smoke test

@rudkx
Copy link
Contributor Author

rudkx commented Feb 22, 2018

@swift-ci Please smoke test Linux platform

@rudkx rudkx merged commit 0ae61f6 into swiftlang:master Feb 22, 2018
@rudkx rudkx deleted the cs-check-type-before-getting branch February 22, 2018 04:54
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.

1 participant