forked from facebook/flow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Previously we were only unwrapping a single level of maybe-ness. This doesn't account for the fact that you could have `OptionalT(MaybeT(...))`, though. This diff just switches things up to unwrap until you get to something that isn't a `MaybeT` or an `OptionalT` (see new test). I'm also re-recording the tests I should've rerecorded yesterday over in D3670635. This should fix test runs in master Reviewed By: bhosmer Differential Revision: D3676855 fbshipit-source-id: 7357ce8013467db11a763059e6aa05156638447b
- Loading branch information
Showing
5 changed files
with
54 additions
and
50 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
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