Error on self::class on non final classes
[hiphop-php.git] / hphp / hack / test / typecheck / ambiguous_declaration_concrete.php.exp
blob2a2b2ae795e90537f7963561d4e8fffab061a4a8
1 File "ambiguous_declaration_concrete.php", line 9, characters 7-7:
2 Class C does not correctly implement all required members (Typing[4340])
3 File "ambiguous_declaration_concrete.php", line 10, characters 7-8:
4 Some members are incompatible with those declared in type T1
5 Read the following to see why:
6 File "ambiguous_declaration_concrete.php", line 6, characters 19-21:
7 Member foo has the wrong type
8 File "ambiguous_declaration_concrete.php", line 6, characters 19-21:
9 T2 and T1 both declare ambiguous implementations of foo.
10 File "ambiguous_declaration_concrete.php", line 6, characters 19-21:
11 T2's definition is here.
12 File "ambiguous_declaration_concrete.php", line 3, characters 19-21:
13 T1's definition is here.
14 File "ambiguous_declaration_concrete.php", line 6, characters 19-21:
15 Redeclare foo in C with a compatible signature.