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
Move tests that only checks first error to subfolder
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
reactive
/
only_first_error
/
references_in_rx2.php
blob
a07570d1f845e0e795b338abc8f0737ca72c46f3
1
<
?hh
// partial
2
3
function
by_ref
(&
$ref
) {}
4
5
<<
__Rx
>>
6
function
foo
():
void
{
7
$x
=
1
;
8
by_ref
(&
$x
);
// bad
9
}