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
/
public_property_access.php
blob
8a06e7d670e0444b6f3e2e0a9046324db5a774e7
1
<
?hh
2
3
<<
file
:
__EnableUnstableFeatures
(
'expression_trees'
)>>
4
5
abstract class
MyClass
{
6
public
ExampleInt
$prop
;
7
}
8
9
function
test
():
void
{
10
ExampleDsl`
(
MyClass
$x
) ==> {
11
$x
->
prop
;
12
}
`
;
13
}