Move the coroutine standard library out of the public hhi
commit5dae8d9cf9d46aea5f523baa34c2d81817898324
authorMichael Tingley <tingley@fb.com>
Tue, 27 Jun 2017 10:19:46 +0000 (27 03:19 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Tue, 27 Jun 2017 10:34:33 +0000 (27 03:34 -0700)
tree356d768af20f5fe291419b7da60d692a9e9a002d
parentcd16b8e64913286f451f837a435e15f00425d7d6
Move the coroutine standard library out of the public hhi

Summary:
Public hhi files are type checked and slurped by HHVM. Neither our type checker nor runtime understand `coroutine` or `suspend` as syntaxes. So I have to move the coroutine standard library out of this public space and into somewhere private. In the future, the coroutine standard library will become part of the public HHI space. But we're not there yet.

I've updated the tests to pull in //both// the public HHI library and the coroutine standard library where appropriate.

Reviewed By: ericlippert

Differential Revision: D5298283

fbshipit-source-id: 48452f16093f2a34d639c1aaa0e7c26ad93e70ff
hphp/hack/hhi/coroutine/classes.hhi [deleted file]
hphp/hack/hhi/coroutine/interfaces.hhi [deleted file]