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
improve Shapes::idx / Shapes::idx lint by underlining invalid property
[hiphop-php.git]
/
hphp
/
hack
/
test
/
dynamic_view
/
test_basic.php
blob
4f5d12ba210bfeee5b453ff605a5a78336b3b927
1
<
?hh
// partial
2
function
foo
() {
3
$x
=
" hello "
;
4
return
5
;
5
}
6
7
8
function
test
() : (
int
,
int
) {
9
// partial class
10
$x
=
foo
();
11
/* HH_IGNORE_ERROR[2049] */
hh_show
(
$x
);
12
return
$x
;
13
}