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
New inference: improved error message for unresolved type
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
shapes_cc_11.php
blob
795c01983c803bf2df176294e78c14c8c51089ff
1
//// use.php
2
<
?hh
// strict
3
4
newtype blah
=
shape
(
5
Foo
::
BAR
=>
int
,
6
);
7
8
//// def.php
9
<
?hh
// strict
10
11
newtype blah2
=
string
;
12
class
Foo
{
13
const
blah2 BAR
=
'bar'
;
14
}