improve error message and position for "bad decl override" error
[hiphop-php.git] / hphp / hack / test / typecheck / class_level_where_clauses / this_as / trait_method_lookup_02.php.exp
blob62984fe4f21a4fbb20abf15e83c76fb0b70240ff
1 File "trait_method_lookup_02.php", line 29, characters 26-26:
2 Some members in class `D` are incompatible with those declared in type `C` (Typing[4341])
3 File "trait_method_lookup_02.php", line 18, characters 26-28:
4 The method `foo` is not compatible with the overridden method
5 File "trait_method_lookup_02.php", line 29, characters 26-26:
6 Some members in class `D` are incompatible with those declared in type `C`
7 File "trait_method_lookup_02.php", line 18, characters 26-28:
8 The method `foo` is not compatible with the overridden method
9 File "trait_method_lookup_02.php", line 14, characters 42-44:
10 Expected `num`
11 File "trait_method_lookup_02.php", line 18, characters 33-37:
12 But got `mixed`
13 File "trait_method_lookup_02.php", line 18, characters 26-28:
14 This declaration was inherited from an object of type `T`. Redeclare this member in `D` with a compatible signature.