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
Error on self::class on non final classes
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
assign_map_good.php
blob
294f129625e3bc237d58ea3abce399d9250eaa75
1
<
?hh
// strict
2
// Copyright 2004-present Facebook. All Rights Reserved.
3
4
function
test
(
Map
<
string
,
num
>
$v
):
Map
<
string
,
num
> {
5
$v
[
'foo'
] =
3.14
;
6
return
$v
;
7
}