Type simple function call without arguments
commite09ba3a2e32d0bca8f76d9f4c7d9144f1c70ab87
authorHenri Verroken <hverr@fb.com>
Thu, 19 May 2022 15:15:37 +0000 (19 08:15 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 19 May 2022 15:15:37 +0000 (19 08:15 -0700)
tree21380106b4d45f4df7418559db227acdefc91998
parentbbd297804537db7a808e1bdc716f82b376616037
Type simple function call without arguments

Summary:
Add logic to type

```

<?hh

function foo(): void {

}

function bar(): void {
  foo();
}
```

Reviewed By: enetsee

Differential Revision: D35612193

fbshipit-source-id: 5098cd1624737cae58e05571b23b535d55298099
hphp/hack/src/rupro/hackrs/todo.rs
hphp/hack/src/rupro/hackrs/typing/ast/typing_expr.rs
hphp/hack/src/rupro/hackrs/typing/ast/typing_localize.rs
hphp/hack/src/rupro/hackrs/typing/env/typing_env_decls.rs
hphp/hack/src/rupro/ty/local/ty.rs
hphp/hack/test/rupro/tast/simple_function_call.php [new file with mode: 0644]
hphp/hack/test/rupro/tast/simple_function_call.php.rs_compare.exp [new file with mode: 0644]