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
sync the repo
[hiphop-php.git]
/
hphp
/
hack
/
test
/
nast
/
wildcard_hint_as_expr.php
blob
4f57076c4d00811f2dbbddb55b1d41e54efdd058
1
<
?hh
2
3
class
AAAAA
{}
4
final class
BBBBB
<
+T
>
extends
AAAAA
{
5
private
?T
$x
;
6
}
7
8
function
wildcard_hint_is_expr
(
AAAAA
$x
):
void
{
9
$_
=
$x
as
BBBBB
<
_
>;
10
}