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