Skip to content

Conversation

@sobolevn
Copy link
Member

@sobolevn sobolevn commented Dec 19, 2021

Things I've tried before refactoring so many lines:

  1. Better FuncDef.type.definition handling in fixup.py. It was not successful
  2. Reassinging .definition in check_method_override_for_base_with_name. It was broken, because when cached functions do not have .arguments and pretty_callable requires it

So, I went this - more explicit - path.

Closes #11791
CC @wrobell

@github-actions

This comment has been minimized.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Confusing error message for a missing classmethod decorator

1 participant