Skip to content

Commit

Permalink
Detect inherited __init__s
Browse files Browse the repository at this point in the history
Summary:
* Uses `get_instance_attribute` to fetch `__init__`, fixing a bug with inherited `__init__`s.
* Adds an `__init__` method to our test `object` class to match reality.

Reviewed By: ndmitchell

Differential Revision: D67188052

fbshipit-source-id: 7417cd1a7dacc54357929a22bfb306bbed0e6aaa
  • Loading branch information
rchen152 authored and facebook-github-bot committed Dec 13, 2024
1 parent f708c54 commit d9853af
Show file tree
Hide file tree
Showing 6 changed files with 252 additions and 237 deletions.
Loading

0 comments on commit d9853af

Please sign in to comment.