Files
openide/python/testData/highlighting/attributeNameRepeatedInClassPattern.py
Mikhail Golubev e9d11d1215 PY-48010 Warn about problems causing SyntaxErrors in PEP 634 patterns
GitOrigin-RevId: 718645cc5dfd6d0a14f1bd802f3c5bb2bb2c6074
2021-10-18 13:57:02 +00:00

4 lines
185 B
Python

match 42:
case Class(foo=1, <error descr="Attribute name 'foo' is repeated">foo</error>=[], <error descr="Attribute name 'foo' is repeated">foo</error>=str()):
pass