Files
openide/python/testData/quickFixes/PyRemoveArgumentQuickFixTest/duplicateArg.py
Semyon Proshev 1e07ba1cfa Avoid duplicate messages in compatibility inspection and unsupported features annotator (PY-33516)
Inspection does not register `CompatibilityVisitor` problems for its opened file language because in such a case
`UnsupportedFeatures` will annotate them.
Also `registerOnFirstMatchingVersion` methods were removed because
they could lead to duplication even if languages to register were different.
2019-01-14 17:27:39 +03:00

9 lines
141 B
Python

def foo(*args):
pass
a = ()
b = ()
foo(*a, <error descr="Python version 2.7 does not allow duplicate *expressions">*<caret>b</error>)