-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Respect subscripted base classes in type-checking rules (#7954)
Closes #7945.
- Loading branch information
1 parent
ddffadb
commit bd06cbe
Showing
2 changed files
with
15 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,10 @@ class C: | |
|
||
class D(C): | ||
x: UUID | ||
|
||
|
||
import collections | ||
|
||
|
||
class E(BaseModel[int]): | ||
x: collections.Awaitable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters