-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
EntityEquality generates type mismatch #16564
Comments
Another case
It generates property access of type int on FOD.
This throw NRE in InMemory. |
Sorry, my github email notifications are clearly not working well - missed this. Will check it out as soon as the preview7 port is done. |
@smitpatel I see the issue you're describing. However, the first test (Contains_over_entityType_with_null_should_rewrite_to_identity_equality) passes correctly - do you have another repro in mind for relational? Will investigate the second failure. Regardless, will wait on #16791 to get merged to avoid conflicts. |
InMemory failure. The test is disabled for InMemory provider with this bug number. |
Test: Contains_over_entityType_with_null_should_rewrite_to_identity_equality
here p0 is null so runtime generated parameter is also null. But value is being cast to int which is NRE. When rewriting key access on potentially null expression, it should convert the types to nullable.
The text was updated successfully, but these errors were encountered: