hhvm / hhast

Mutable AST library for Hack with linting and code migrations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Write tests for `__Private\Resolution\resolve_function()`

lexidor opened this issue · comments

I had to use it in DontUseAsioJoinLinter and there were 0 known usages.
There are no test cases either.
I figured out the API with some guess work.

The documentation I wrote might not be 100% accurate and it is better to demonstrate the functions capabilities using a couple of tests.

commented

there were 0 known usages.

I think it's used from hh-apidoc, definition-finder, and/or user-documentation

But I agree, we should have tests too.