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
/
shape_key_exists2.php
blob
1b64e7ae8227e2574162174aecfd7c8bd4a0866c
1
<
?hh
// strict
2
3
// Nonexisting field in declared shape
4
5
type s
=
shape
(
6
'x'
=>
int
,
7
...
8
);
9
10
function
test
(
s
$s
):
void
{
11
Shapes
::
idx
(
$s
,
'y'
);
12
}