Error on self::class on non final classes
[hiphop-php.git] / hphp / hack / test / typecheck / reified_generics / is_as_shallow_checks.php.like_types.exp
blobb6ccc7ea9f3a42e4b027d8b1e61db92a2c2c5d2b
1 File "is_as_shallow_checks.php", line 10, characters 13-23:
2 Invalid "as" expression hint (Typing[4195])
3 File "is_as_shallow_checks.php", line 10, characters 13-23:
4 The "as" operator cannot be used with a type with an erased generic type argument, except in a like cast when the corresponding type parameter is covariant
5 File "is_as_shallow_checks.php", line 17, characters 13-50:
6 Invalid "as" expression hint (Typing[4195])
7 File "is_as_shallow_checks.php", line 17, characters 37-47:
8 The "as" operator cannot be used with a type with an erased generic type argument, except in a like cast when the corresponding type parameter is covariant
9 File "is_as_shallow_checks.php", line 23, characters 13-24:
10 Invalid "as" expression hint (Typing[4195])
11 File "is_as_shallow_checks.php", line 23, characters 13-24:
12 The "as" operator cannot be used with a type with an erased generic type argument, except in a like cast when the corresponding type parameter is covariant