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
New inference: improved error message for unresolved type
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
null_coalesce_assignment
/
null_coalesce_assignment_2.php
blob
16849851e9821383d9bf177ec972708929bbf0b2
1
<
?hh
// strict
2
3
function
f
():
?
int
{
4
return null
;
5
}
6
7
function
g
():
int
{
8
$x
=
f
();
9
return
$x
??
=
0
;
10
}