Updating submodules
[hiphop-php.git] / hphp / hack / test / typecheck / call_in_static_dict.php.exp
blob4ecd2e5087a6701d962ef160203146a341f397b3
1 ERROR: File "call_in_static_dict.php", line 7, characters 34-39:
2 Expected constant expression for initializer (Parsing[1002])
3 ERROR: File "call_in_static_dict.php", line 7, characters 17-18:
4 Please add a type hint `public SomeType $x` (Naming[2001])
5 ERROR: File "call_in_static_dict.php", line 4, characters 26-26:
6 Was expecting a return type hint (Typing[4030])
7 ERROR: File "call_in_static_dict.php", line 7, characters 34-37:
8 This call is not allowed because its capabilities are incompatible with the context (Typing[4390])
9 File "call_in_static_dict.php", line 7, characters 22-40:
10 From this declaration, the context of this function body provides the capability set {}
11 File "call_in_static_dict.php", line 4, characters 26-26:
12 But the function being called requires the capability set {AccessGlobals, IO, ImplicitPolicyLocal, RxLocal, SystemLocal, WriteProperty}