-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve handling of TypeConstructor Types in the generic function cac…
…he. fixes #11840 when TypeConstructors showed up as parameters of Type objects in the generic function cache, the type intersection result would trick inference into caching it in the wrong place and using it when it didn't apply. fix that by checking explicitly for arguments declared with ::TypeConstructor and ensuring they are matched and cached correctly
- Loading branch information
Showing
2 changed files
with
30 additions
and
9 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
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