-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Makes `union.Type` enum creation lazy by deferring creation until first access. NOTE: This requires an interface change where `u.type` now *always* returns the enum even if there's a field name conflict. To safely land, we probably have to add a compile-time validator against this. Reviewed By: Filip-F, createdbysk Differential Revision: D67166249 fbshipit-source-id: bfc14f0e95762c93f1fc27141d07ac02ac2624be
- Loading branch information
1 parent
7be2551
commit 6203d65
Showing
3 changed files
with
26 additions
and
10 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
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