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
/
mismatched_types.php
blob
03acfa6b4521648d654075cb7dfe94d7184c6880
1
<
?hh
2
3
<<
file
:
__EnableUnstableFeatures
(
'expression_trees'
)>>
4
5
function
test
():
void
{
6
$_
=
ExampleDsl`
() ==> {
7
$x
=
"hello"
;
8
$x
+
1
;
9
}
`
;
10
}