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 for void/noreturn in conditionals
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
contravariant_this2.php
blob
ca42882f78ca886a5055430ace541a6169af9dac
1
<
?hh
// strict
2
3
final class
C
<
+T
> {
4
public function
__construct
(
private
T
$v
) {}
5
public function
put1
(
this
$v
):
void
{}
6
}