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 pure context to `extract_standalone_make_default` generated function
[hiphop-php.git]
/
hphp
/
hack
/
test
/
enum_supertyping
/
typing
/
ordering.bad.php
blob
98574bd228c26bb56861ff1fc712e2dada2c3fca
1
<
?hh
2
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
3
4
enum B
:
string
as
string
{
5
use
A
;
6
}
7
enum A
:
string
as
string
{
8
FOO
=
'foo'
;
9
}
10
<<
__EntryPoint
>>
11
function
main
() :
void
{
12
print
B
::
FOO
;
13
}