You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve _get_path_to_function_decl to handle function wrapper with class (#1116)
Summary:
We added file decorator support in #1111
**Problem:** This will fail when the function wrapper with dataclass object
**Fix:** Determine if decorators found in function before unwrap.
Add two test cases to cover:
* comp_f using dataclass in g.py => should return __init__.py
* comp_g using decorator in h.py => should return g.py
Differential Revision: D82346696
0 commit comments