Repository navigation
Commit ace384c
committed
fix(python): walk a class nested in a class under its outer class
py_process_class qualified every class under the module, so a class nested
in a class (proj.m.Outer.Inner, the QN extraction gives it) was walked as
proj.m.Inner: its methods' LSP rows carried callers no node has and never
joined. A typed-parameter call in such a method got no edge at all, a self
call fell to unique_name and a constructor to same_module. A nested class,
decorated or not, is now walked under its enclosing class through the same
py_process_class_in the function-local classes use.
Tests: pipeline_python_nested_class_methods_resolve(_parallel).
Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>1 parent e772ff8 commit ace384c
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4706 | 4706 | | |
4707 | 4707 | | |
4708 | 4708 | | |
| 4709 | + | |
| 4710 | + | |
| 4711 | + | |
4709 | 4712 | | |
4710 | 4713 | | |
4711 | | - | |
| 4714 | + | |
| 4715 | + | |
| 4716 | + | |
| 4717 | + | |
4712 | 4718 | | |
4713 | 4719 | | |
4714 | 4720 | | |
| |||
0 commit comments