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
No error on use of `unsafe_cast`
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
array_non_static.php
blob
0455a56e84bff8407be7d9f1050c606954dd59c7
1
<
?hh
// strict
2
3
function
get
():
int
{
4
return
1
;
5
}
6
7
class
Foo
{
8
public
varray
<
int
>
$vec
=
varray
[
get
(),
2
];
9
}