Repository navigation
Commit 4d71327
committed
fix(python): extract a decorated class nested in a class body
push_nested_class_nodes descended into field/template/declaration and conditional wrappers but not into Python's decorated_definition, so a decorated nested class (`@dataclass class Meta:` inside a class) was never extracted: no Class node, no Method nodes, and the calls in it fell to the FILE node.
Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>1 parent 4b59b9a commit 4d71327
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11493 | 11493 | | |
11494 | 11494 | | |
11495 | 11495 | | |
11496 | | - | |
| 11496 | + | |
| 11497 | + | |
| 11498 | + | |
11497 | 11499 | | |
11498 | 11500 | | |
| 11501 | + | |
11499 | 11502 | | |
11500 | 11503 | | |
11501 | 11504 | | |
| |||
0 commit comments