Instead of checking the first scope outside of pytypecheck, actually find the point where the function was defined. This fixes lookup problems when a typechecked function has multiple decorators or tc() is otherwise called separately from the function definition
Instead of checking the first scope outside of pytypecheck, actually find the point where the function was defined. This fixes lookup problems when a typechecked function has multiple decorators or tc() is otherwise called separately from the function definition

mrozekma/pytypecheck