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
Check type well formedness for top level function where constraints
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
well_formed_where_constraints_on_functions.php
blob
8e45b634d3355479052dd1e60618490adc9217b7
1
<
?hh
2
3
class
G
<
T
as
arraykey
> {}
4
5
function
on_g
<
T
>(
T
$_
):
void where T
=
G
<
null
> {}