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
Migrate rx/pure tests to strict mode, fix broken tests
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
reactive
/
mutability_flavors3.php
blob
5c69c0b943a01b7eeabc0e1108d857654f77f049
1
<
?hh
2
3
class
A
{}
4
5
<<
__Rx
>>
6
function
f
():
void
{
7
$a
=
\HH\Rx\
mutable
(
new
A
());
8
// ERROR
9
$a
=
\HH\Rx\freeze
(
$a
);
10
}