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
Add tests for not virtualized functions
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
expression_trees_not_virtualize_functions
/
variable_call.php
blob
4dab618968bf35e6c87b0bf88d981629b43b8476
1
<
?hh
2
3
<<
file
:
__EnableUnstableFeatures
(
'expression_trees'
)>>
4
5
function
foo
():
void
{
6
$fun_call
=
ExampleDsl`
((
function
(
ExampleString
):
ExampleInt
)
$foo
) ==> {
7
$foo
(
"baz"
);
8
}
`
;
9
}