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
naive "implements dynamic" soundness checks
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
coeffects
/
rx_example_provisional.php
blob
6d7d1ef4bf45227d467baf656bf8a8c700c3c1a1
1
<
?hh
2
3
<<
file
:
__EnableUnstableFeatures
(
'coeffects_provisional'
)>>
4
function
f
()@{
rx
}:
void
{
5
f
();
6
g
();
7
}
8
function
g
()@{
defaults
}:
void
{
9
f
();
10
g
();
11
}