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
/
no_error_unset_union.php
blob
f97f9208ee6a49b83c1ba9f2a00d108715c10ed0
1
<
?hh
// strict
2
3
function
test_unset
(
bool
$cond
):
void
{
4
$container
=
$cond
? keyset
[
1
] :
dict
[
1
=>
'One'
];
5
unset
(
$container
[
1
]);
6
}