Don't use Aast.Any when marking expressions as type Tany
[hiphop-php.git] / hphp / hack / test / tast / unbound_name_partial.php.exp
blob0c7015638098fa0e494ce26403ec7b1acdcd301a
1 Errors:
2 [4:15-28] Unbound name: NoSuchClass (an object type)
3 [3:10-14] Invalid return type
4 [3:10-14] Expected void because this function implicitly returns void
5 [3:18-23] But got mixed
6 [(Fun
7 { f_span = [3:1-5:2]; f_annotation = (); f_mode = <opaque>;
8 f_ret = (([Pos.none], mixed), (Some ([3:18-23], Hmixed)));
9 f_name = ([3:10-14], "\\test"); f_tparams = [];
10 f_where_constraints = []; f_variadic = FVnonVariadic; f_params = [];
11 f_body =
12 { fb_ast =
13 [([4:3-37],
14 (Expr
15 (([4:3-36], _),
16 (Method_caller (([4:15-28], "\\NoSuchClass"),
17 ([4:30-35], "foo"))))))
19 fb_annotation = No unsafe blocks };
20 f_fun_kind = FSync; f_user_attributes = []; f_file_attributes = [];
21 f_external = false; f_namespace = <opaque>; f_doc_comment = None;
22 f_static = false })