map
throws type assertion error
#43112
Labels
regression
Regression in behavior compared to a previous version
Milestone
Hi,
(I'm opening this as a separate issue for easy tracking and to make sure people see this.)
I just noticed that the type inference related changes newly introduced in #42046 breaks my existing code. A minimal example:
throws the following error
I just upgraded to 1.7.0-rc3 from rc1 this morning and immediately ran into this. Looks like the computed type annotation is more precise but is not compatible with the actual returned collection type.
The text was updated successfully, but these errors were encountered: