mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 10:07:41 +07:00
Such errors are difficult to spot because most of the time the
corresponding markers are displayed only in the right gutter, not in
the editor (though, sometimes a single character is highlighted for
some reason).
For an empty expression fragment the whole its content range is
highlighted (from "{" to either "!", ":" or "}").
For the first unclosed expression fragment the range from "{" to the
end of the containing string node is highlighted.
In case of a missing conversion character the character "!" itself is
highlighted.
5 lines
475 B
Python
5 lines
475 B
Python
f'{<error descr="Expression fragments inside f-strings cannot include backslashes">\</error>t}'
|
|
f'<error descr="'}' is expected">{<error descr="Expression fragments inside f-strings cannot include backslashes">\</error>t</error>'
|
|
f'{<error descr="Expression fragments inside f-strings cannot include backslashes">\</error>N{GREEK SMALL LETTER ALPHA}}'
|
|
f'{Formatable():\n\t}'
|
|
f'{42:{<error descr="Expression fragments inside f-strings cannot include backslashes">\</error>t}}' |