Updating submodules
[hiphop-php.git] / hphp / hack / test / typecheck / this_static_method.php.exp
blob4afa68e55fd273f0e4362a304351b6325f43532a
1 File "this_static_method.php", line 10, characters 5-18:
2 this = Foo
3 ERROR: File "this_static_method.php", line 11, characters 12-21:
4 Invalid return type (Typing[4110])
5 File "this_static_method.php", line 7, characters 24-29:
6 Expected `string`
7 File "this_static_method.php", line 6, characters 31-33:
8 But got `int`
9 ERROR: File "this_static_method.php", line 6, characters 26-26:
10 Invalid return type (Typing[4336])
11 File "this_static_method.php", line 6, characters 31-33:
12 Expected `int`
13 File "this_static_method.php", line 6, characters 26-26:
14 But got `void` because this function does not always return a value