-
-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Adds our custom version of the coroutine types for JIT. Coroutines are mostly the same as generators in Python, with mostly superficial differences. Particularly they raise slightly differently worded errors or new errors in places where it doesn't make sense to use the languge-level syntax. As with the generator implementation, we reuse most things from the core Python coroutine implemenation. Reviewed By: DinoV Differential Revision: D67425130 fbshipit-source-id: 8734adc88976d67612323d2cf504b0d53387a339
- Loading branch information
1 parent
3d1b81e
commit 4f3babd
Showing
2 changed files
with
16 additions
and
14 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