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
/
lambda_call.php
blob
fbabe47e2ef3ed8e08ca5db25a82ad66a6832bd9
1
<
?hh
2
3
<<
file
:
__EnableUnstableFeatures
(
'expression_trees'
)>>
4
5
function
foo
():
void
{
6
ExampleDsl`
((
ExampleInt
$_
):
ExampleString
==> {
return
"Hello"
; })(
4
)
`
;
7
}