Make Hack type checker produce error when async method is not awaitable
[hiphop-php.git] / hphp / hack / test / dumpsymbolinfo / basic.php.exp
blob61dbdaaa856220326b148ba61708af39f2ee09cb
2 "function_calls":[
4 "name":"none_member_function",
5 "type":"Function",
6 "pos":{"filename":"basic.php","line":26,"char_start":5,"char_end":24},
7 "caller":"AnotherTestClass::createInstance"
8 },
10 "name":"AnotherTestClass::staticMethod",
11 "type":"Method",
12 "pos":{"filename":"basic.php","line":24,"char_start":23,"char_end":34},
13 "caller":"AnotherTestClass::createInstance"
16 "name":"AnotherTestClass::publicMethod",
17 "type":"Method",
18 "pos":{"filename":"basic.php","line":22,"char_start":11,"char_end":22},
19 "caller":"AnotherTestClass::createInstance"
22 "name":"AnotherTestClass::__construct",
23 "type":"Constructor",
24 "pos":{"filename":"basic.php","line":21,"char_start":12,"char_end":39},
25 "caller":"AnotherTestClass::createInstance"
28 "name":"AnotherTestClass::publicMethod",
29 "type":"Method",
30 "pos":{"filename":"basic.php","line":5,"char_start":9,"char_end":20},
31 "caller":"none_member_function"
34 "name":"AnotherTestClass::createInstance",
35 "type":"Method",
36 "pos":{"filename":"basic.php","line":4,"char_start":28,"char_end":41},
37 "caller":"none_member_function"
40 "symbol_types":[
42 "pos":{"filename":"basic.php","line":3,"char_start":31,"char_end":34},
43 "type":"_",
44 "ident":0
47 "pos":{"filename":"basic.php","line":4,"char_start":3,"char_end":6},
48 "type":"AnotherTestClass",
49 "ident":1
52 "pos":{"filename":"basic.php","line":5,"char_start":3,"char_end":6},
53 "type":"AnotherTestClass",
54 "ident":1
57 "pos":{"filename":"basic.php","line":6,"char_start":10,"char_end":13},
58 "type":"_",
59 "ident":0
62 "pos":{"filename":"basic.php","line":12,"char_start":38,"char_end":43},
63 "type":"string",
64 "ident":2
67 "pos":{"filename":"basic.php","line":13,"char_start":20,"char_end":25},
68 "type":"string",
69 "ident":2
72 "pos":{"filename":"basic.php","line":16,"char_start":32,"char_end":35},
73 "type":"_",
74 "ident":3
77 "pos":{"filename":"basic.php","line":21,"char_start":5,"char_end":8},
78 "type":"AnotherTestClass",
79 "ident":4
82 "pos":{"filename":"basic.php","line":22,"char_start":5,"char_end":8},
83 "type":"AnotherTestClass",
84 "ident":4
87 "pos":{"filename":"basic.php","line":27,"char_start":12,"char_end":15},
88 "type":"AnotherTestClass",
89 "ident":4