File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -2166,11 +2166,18 @@ def check_override(
21662166 """Check a method override with given signatures.
21672167
21682168 Arguments:
2169- override: The signature of the overriding method.
2170- original: The signature of the original supertype method.
2171- name: The name of the subtype. This and the next argument are
2172- only used for generating error messages.
2173- supertype: The name of the supertype.
2169+ override: The signature of the overriding method.
2170+ original: The signature of the original supertype method.
2171+ name: The name of the overriding method.
2172+ Used primarily for generating error messages.
2173+ name_in_super: The name of the overridden in the superclass.
2174+ Used for generating error messages only.
2175+ supertype: The name of the supertype.
2176+ original_class_or_static: Indicates whether the original method (from the superclass)
2177+ is either a class method or a static method.
2178+ override_class_or_static: Indicates whether the overriding method (from the subclass)
2179+ is either a class method or a static method.
2180+ node: Context node.
21742181 """
21752182 # Use boolean variable to clarify code.
21762183 fail = False
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ def maybe_process_conditional_comparison(
6262 do nothing and return False.
6363
6464 Args:
65+ self: IR form Builder
6566 e: Arbitrary expression
6667 true: Branch target if comparison is true
6768 false: Branch target if comparison is false
You can’t perform that action at this time.
0 commit comments