File tree 2 files changed +13
-5
lines changed
2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -2166,11 +2166,18 @@ def check_override(
2166
2166
"""Check a method override with given signatures.
2167
2167
2168
2168
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.
2174
2181
"""
2175
2182
# Use boolean variable to clarify code.
2176
2183
fail = False
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ def maybe_process_conditional_comparison(
62
62
do nothing and return False.
63
63
64
64
Args:
65
+ self: IR form Builder
65
66
e: Arbitrary expression
66
67
true: Branch target if comparison is true
67
68
false: Branch target if comparison is false
You can’t perform that action at this time.
0 commit comments