improve error message and position for "bad decl override" error
[hiphop-php.git] / hphp / hack / test / fanout / class_class_const_change_type.php.incr_old_decl.exp
blob0bcd0c2c5375a163480951347dfa90b00af6f880
1 === base errors ===
2 No errors!
3 === changed errors ===
4 b.php:2:17,17: Some members in class `B` are incompatible with those declared in type `A` (Typing[4348])
5 a.php:3:9,12: Expected `bool`
6 b.php:3:9,11: But got `int`
7 use.php:4:12,15: Invalid argument (Typing[4110])
8 use.php:2:19,21: Expected `int`
9 a.php:3:9,12: But got `bool`
10 === fanout ===
11 Fun use_a_const
12 Type A
13 Type B
14 Type C