Skip to content

Prepare for adding InvalidType, make 'TypeChecker.isAssignableFromType()' null safe. #666

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
May 10, 2023

Conversation

scheglov
Copy link
Contributor

@scheglov scheglov commented May 9, 2023

Prepares for landing https://dart-review.googlesource.com/c/sdk/+/300181

I had to make this check in cl/529250286, so I guess there is a type without an element that gets passed, most probably the newly added InvalidType. Anyway, the code was unsafe.

@scheglov scheglov requested a review from natebosch May 10, 2023 15:52
@natebosch natebosch merged commit 3d2a85b into dart-lang:master May 10, 2023
@scheglov scheglov deleted the prepare-for-InvalidType branch May 10, 2023 16:31
@kevmoo
Copy link
Member

kevmoo commented May 11, 2023

@scheglov - I'm hitting it with a record!

mosuem pushed a commit to dart-lang/build that referenced this pull request Dec 10, 2024
mosuem pushed a commit to dart-lang/build that referenced this pull request Dec 10, 2024
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.

3 participants