safishamsi
f1405dd7c1
fix(extract): nested types get a contains edge from the enclosing type ( #2040 )
...
In _extract_generic's class branch the `contains` edge was hard-coded to source
from the file node, so a nested class/object/trait attached to the file instead
of its enclosing type across ~19 languages (only C# even flagged the node with
is_nested_type, and still emitted no edge to the parent). The edge now sources
from parent_class_nid when set, else the file node — keeping the containment
tree connected (file -> Outer -> Inner). A `!= class_nid` guard avoids a
self-loop when same-name nesting collides ids (class ids omit the enclosing
name). The C# is_nested_type flag is retained (load-bearing for cross-file
resolution). Methods were already parent-sourced and are unaffected.
2026-07-20 15:40:32 +01:00
..
2026-07-15 10:58:57 +01:00
2026-07-15 15:09:17 +01:00
2026-07-05 11:41:18 +01:00
2026-07-11 11:52:12 +01:00
2026-07-16 23:48:07 +01:00
2026-07-20 13:29:54 +01:00
2026-07-17 11:21:21 +01:00
2026-07-08 12:09:40 +01:00
2026-07-16 16:38:12 +01:00
2026-07-14 13:19:16 +01:00
2026-07-01 15:09:42 +01:00
2026-07-16 23:48:07 +01:00
2026-07-15 13:13:30 +01:00
2026-07-02 22:29:30 +01:00
2026-07-18 19:07:16 +01:00
2026-07-12 23:57:16 +01:00
2026-07-11 16:31:10 +01:00
2026-07-18 19:07:16 +01:00
2026-07-01 11:52:50 +01:00
2026-07-01 10:49:43 +01:00
2026-06-30 18:30:05 +01:00
2026-07-18 12:04:23 +01:00
2026-07-08 01:16:58 +01:00
2026-07-10 21:57:16 +01:00
2026-06-30 19:32:10 +01:00
2026-07-14 13:51:42 +01:00
2026-07-20 15:28:59 +01:00
2026-07-14 23:42:06 +01:00
2026-07-17 00:09:02 +01:00
2026-06-30 11:19:54 +01:00
2026-07-16 23:42:47 +01:00
2026-07-13 10:29:26 +01:00
2026-07-20 11:31:36 +01:00
2026-07-20 15:35:40 +01:00
2026-07-17 11:35:11 +01:00
2026-07-09 13:22:36 +01:00
2026-07-06 16:43:21 +01:00
2026-07-20 15:35:40 +01:00
2026-07-06 16:49:31 +01:00
2026-07-18 19:07:16 +01:00
2026-07-15 00:41:36 +01:00
2026-06-30 16:58:23 +01:00
2026-07-02 22:29:32 +01:00
2026-07-20 11:29:22 +01:00
2026-07-16 23:42:47 +01:00
2026-06-30 23:26:13 +01:00
2026-07-01 10:30:47 +01:00
2026-07-01 11:43:05 +01:00
2026-07-06 16:43:21 +01:00
2026-07-06 16:38:42 +01:00
2026-07-18 19:07:16 +01:00
2026-07-10 02:11:36 +01:00
2026-07-09 10:44:50 +01:00
2026-07-20 11:41:44 +01:00
2026-07-06 12:46:12 +01:00
2026-07-20 15:40:32 +01:00
2026-07-20 11:29:22 +01:00
2026-07-02 22:29:30 +01:00
2026-07-04 22:12:47 +01:00
2026-07-17 10:54:07 +01:00
2026-07-08 12:45:08 +01:00
2026-07-15 10:58:57 +01:00
2026-07-03 18:34:41 +01:00
2026-07-04 22:12:47 +01:00
2026-07-06 12:44:47 +01:00
2026-07-17 00:02:15 +01:00
2026-07-09 00:32:21 +01:00
2026-07-09 00:32:21 +01:00
2026-07-09 01:06:02 +01:00
2026-07-11 11:56:38 +01:00
2026-06-30 16:59:16 +01:00
2026-07-16 16:36:49 +01:00
2026-07-04 21:22:39 +01:00
2026-07-04 03:12:23 +01:00
2026-07-15 19:51:53 +01:00
2026-07-18 12:03:47 +01:00
2026-07-12 10:36:00 +01:00
2026-07-06 00:45:51 +01:00
2026-07-06 16:38:42 +01:00
2026-06-30 12:57:33 +01:00
2026-07-06 12:36:12 +01:00
2026-07-07 10:57:52 +01:00
2026-07-11 11:31:47 +01:00
2026-07-18 19:07:16 +01:00
2026-07-10 20:24:25 +01:00
2026-07-18 19:09:53 +01:00
2026-07-16 23:36:49 +01:00
2026-07-04 03:12:23 +01:00
2026-07-15 15:14:34 +01:00
2026-07-02 12:11:51 +01:00
2026-07-20 15:02:54 +01:00
2026-06-30 23:15:52 +01:00
2026-07-16 16:38:12 +01:00
2026-07-02 11:46:22 +01:00
2026-06-30 16:59:16 +01:00
2026-07-02 22:38:29 +01:00
2026-07-02 22:38:28 +01:00
2026-07-04 03:12:23 +01:00
2026-07-02 22:38:29 +01:00
2026-07-03 16:03:18 +01:00
2026-07-14 23:32:02 +01:00
2026-07-20 13:57:12 +01:00
2026-07-18 12:03:34 +01:00
2026-07-05 10:33:07 +01:00