Commit 5bb5498
[Backport maintenance/4.0.x] Fix crash in typecheck checker when metaclass argument is a non-class (#11075)
Fix crash in typecheck checker when metaclass argument is a non-class (#11074)
(cherry picked from commit c2052d6)
Signed-off-by: Sai Asish Y <say.apm35@gmail.com>
Co-authored-by: Sai Asish Y <say.apm35@gmail.com>1 parent a940533 commit 5bb5498
3 files changed
Lines changed: 24 additions & 1 deletion
File tree
- doc/whatsnew/fragments
- pylint/checkers
- tests/functional/r/regression_03
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
670 | 670 | | |
671 | 671 | | |
672 | 672 | | |
673 | | - | |
| 673 | + | |
674 | 674 | | |
675 | 675 | | |
676 | 676 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
0 commit comments