repo.or.cz
/
hiphop-php.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Support is and as
[hiphop-php.git]
/
hphp
/
hack
/
test
/
decl
/
return_disposable.php
blob
c4a8a749a3a04c215fe73b0f0652c22ab105e5dc
1
<
?hh
// strict
2
3
final class
Bar
implements
IDisposable
{
4
public function
__dispose
():
void
{}
5
}
6
7
<<
__ReturnDisposable
>>
8
async
function
gen
():
Awaitable
<
Bar
> {
9
return new
Bar
();
10
}