Fix typing::match_annotated_subscript matching ExprKind::Call (#1554)

This commit is contained in:
Martin Fischer
2023-01-02 18:13:45 +01:00
committed by GitHub
parent f52691a90a
commit cdae2f0e67
4 changed files with 20 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
from __future__ import annotations
# test case for https://github.com/charliermarsh/ruff/issues/1552
def _():
x = 0
list()[x:]