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
/
postfix_minus_minus_error2.php
blob
037ae1ba3ac5f67dafcde3327d1d975108c5ac48
1
<
?hh
2
3
<<
file
:
__EnableUnstableFeatures
(
'expression_trees'
)>>
4
5
function
test
():
void
{
6
// ExampleFloat doesn't implement the postfix plus plus operator,
7
// so don't expect this to typecheck
8
ExampleDsl`
() ==> {
9
$i
=
1.0
;
10
$i
--;
11
}
`
;
12
}