Fix bug in hack codegen for sets
[hiphop-php.git] / hphp / hack / test / typecheck / typing_fail_protected_access2.php.exp
blob95b3003f7995b3c0fa1dac3637e8eaf4f303e329
1 ERROR: File "typing_fail_protected_access2.php", line 18, characters 10-10:
2 Cannot access this protected member, you don't extend Foo (Typing[4112])
3 File "typing_fail_protected_access2.php", line 13, characters 29-29:
4 This member is protected
5 ERROR: File "typing_fail_protected_access2.php", line 17, characters 19-19:
6 Invalid return type (Typing[4336])
7 File "typing_fail_protected_access2.php", line 17, characters 25-27:
8 Expected `int`
9 File "typing_fail_protected_access2.php", line 17, characters 19-19:
10 But got `void` because this function does not always return a value