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
Error on self::class on non final classes
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
await_in_expressions7.php
blob
b8cf734b1084e8c05ff0e316f82d232152b09a5b
1
<
?hh
// strict
2
3
async
function
f1
(
Awaitable
<
int
>
$a
):
Awaitable
<
void
> {
4
$x
=
1
;
5
switch
(
$x
) {
6
case
await
$a
: {
7
}
8
}
9
}