mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
PY-31442 Shorter parser error for incomplete fragments terminated by closing quotes
In these cases one probably doesn't want to either specify a type conversion character or add a format part and has just forgotten a closing brace.
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ PyFile:FStringTerminatedByQuoteInsideNestedStringLiteralInFormatPart.py
|
||||
PsiElement(Py:FSTRING_FRAGMENT_START)('{')
|
||||
PyStringLiteralExpression:
|
||||
PsiElement(Py:SINGLE_QUOTED_STRING)('"')
|
||||
PsiErrorElement:type conversion, : or } expected
|
||||
PsiErrorElement:} expected
|
||||
<empty list>
|
||||
PsiErrorElement:""" expected
|
||||
<empty list>
|
||||
|
||||
Reference in New Issue
Block a user