Skip to content

[CSGen] Replace getInterfaceType() -> mapTypeIntoContext() for VarD… #32334

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
Jun 12, 2020

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Jun 12, 2020

…ecl with getType

In ConstraintGenerator::visitDeclRefExpr instead of using
getInterfaceType() for unknown type and later mapping it into
context, let's use getType() which does that interally, that
allows to detect presence of error types in resulting type and
abort constraint generation.

…ecl with `getType`

In `ConstraintGenerator::visitDeclRefExpr` instead of using
`getInterfaceType()` for unknown type and later mapping it into
context, let's use `getType()` which does that interally, that
allows to detect presence of error types in resulting type and
abort constraint generation.
@xedin xedin requested a review from CodaFi June 12, 2020 00:07
@xedin
Copy link
Contributor Author

xedin commented Jun 12, 2020

@swift-ci please smoke test

@xedin
Copy link
Contributor Author

xedin commented Jun 12, 2020

@swift-ci please smoke test Windows platform

@xedin xedin merged commit e9b241f into swiftlang:master Jun 12, 2020
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