-
-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: We weren't checking for incompatible field overrides at all. We were still sound, because we actually just ignored field overrides entirely and went with the base field type, but it's an odd user experience. In principle we could allow type narrowing of attributes on subclasses, only if the attribute is `Final`. But I think this would require changes in the runtime. Reviewed By: DinoV Differential Revision: D31177531 fbshipit-source-id: 7cd9742
- Loading branch information
1 parent
8cbc640
commit 1475ebd
Showing
2 changed files
with
41 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