-
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
convert: unify mixtures similar of structural and collection types
We already had special behavior to deal with unifying lists of incompatible element types and tuples of incompatible types, but we didn't have a similar special case for unifying a mixture of list and tuple types and so we were falling back on the default "search for an available conversion" behavior and getting a different result in that scenario compared to how we handle unification of just different list types. This situation also applies to mixtures of map and object types, so this change adds two new special cases to deal with both of those situations.
- Loading branch information
Showing
2 changed files
with
449 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.