Skip to content

Commit 431b023

Browse files
authored
Extend possible error location in overloads_definitions.py (#2004)
Allow highlighting decorator instead of a function name in overloads_definitions.py
1 parent acbf480 commit 431b023

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conformance/tests/overloads_definitions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def bad_override(self, x: int) -> int: # E[bad_override]
194194
@overload
195195
def bad_override(self, x: str) -> str: ...
196196

197-
@override
197+
@override # E[bad_override]
198198
def bad_override(self, x: int | str) -> int | str: # E[bad_override]
199199
...
200200

0 commit comments

Comments
 (0)