-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add file name to file-private metaclass types during codegen (#15505)
File-private types with the same name get collapsed into a single type during codegen, which messes up any dispatch over them: only one of their type IDs is considered, and the other is assumed to be unreachable. Adding the file name as namespace keeps them apart.
- Loading branch information
1 parent
0c18a2d
commit 29e1b71
Showing
2 changed files
with
38 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
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