Skip over trivia tokens after re-lexing (#21895)

This commit is contained in:
Micha Reiser
2025-12-11 11:45:18 +01:00
committed by GitHub
parent 5c320990f7
commit aa27925e87
9 changed files with 373 additions and 33 deletions

View File

@@ -0,0 +1,5 @@
# Regression test for https://github.com/astral-sh/ty/issues/1828
(c: int = 1,f"""{d=[
def a(
class A:
pass