-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Infer required keys in return of maps:with when open shape has dynami…
…c() keys Summary: Based on internal discussions, we decided that `#{dynamic() => dynamic()} <: #{a := dynamic()}` should hold. On this diff I'm special casing `maps:with` custom typing to produce required keys when that happens. Reviewed By: VLanvin Differential Revision: D66828846 fbshipit-source-id: 6aae2c9dc09004387f9056a0ac71a4f11b672a46
- Loading branch information
1 parent
1d27f9f
commit c1b794b
Showing
3 changed files
with
80 additions
and
74 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
Oops, something went wrong.