Rename Red Knot (#17820)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# Shadwing declaration
|
||||
|
||||
## Shadow after incompatible declarations is OK
|
||||
|
||||
```py
|
||||
def _(flag: bool):
|
||||
if flag:
|
||||
x: str
|
||||
else:
|
||||
x: int
|
||||
|
||||
x: bytes = b"foo"
|
||||
```
|
||||
Reference in New Issue
Block a user