KaiyiQuan
bfcdda97b0
fix(csharp): don't collect tuple element names as type references ( #3796 )
...
A named tuple type `(int mode, string label)` is a `tuple_type` whose
`tuple_element` children carry both a `type` and a `name` field.
_csharp_collect_type_refs walked every named child, so the element NAMES
were collected as type references, minted as sourceless placeholder nodes
and emitted `references` edges — one junk type node per element, repeated
in every file declaring such a signature.
Only the `type` field of each tuple element should feed type-reference
collection; the `name` is an identifier, not a type reference. Fix the
collector to descend into the element's type field only.
Regression: tests/test_csharp_tuple_type_refs.py asserts no node/edge is
minted for element names (all existing C# tests pass).
2026-09-27 14:38:17 +08:00
..
2026-09-21 19:19:26 +01:00
2026-09-10 23:04:40 +01:00
2026-09-12 17:36:09 +01:00
2026-09-10 23:04:40 +01:00
2026-09-12 22:23:00 +01:00
2026-09-11 22:46:15 +01:00
2026-09-22 17:30:28 +01:00
2026-09-21 19:44:17 +01:00
2026-09-12 17:36:09 +01:00
2026-09-22 15:00:07 +01:00
2026-09-22 14:58:22 +01:00
2026-09-11 22:51:35 +01:00
2026-09-17 11:01:38 +01:00
2026-09-14 18:55:31 +01:00
2026-09-25 15:44:08 +01:00
2026-09-17 11:03:41 +01:00
2026-09-13 17:47:56 +01:00
2026-09-27 14:38:17 +08:00
2026-09-25 16:01:47 +01:00
2026-09-25 16:01:47 +01:00
2026-09-14 18:49:17 +01:00
2026-09-13 17:47:53 +01:00
2026-09-16 15:37:30 +01:00
2026-09-21 19:19:26 +01:00
2026-09-11 23:58:31 +01:00
2026-09-23 16:54:04 +01:00
2026-09-20 18:07:23 +01:00
2026-09-16 16:20:01 +01:00
2026-09-23 19:45:40 +01:00
2026-09-21 19:10:13 +01:00
2026-09-22 14:58:12 +01:00
2026-09-22 14:58:12 +01:00
2026-09-14 18:49:21 +01:00
2026-09-25 16:15:15 +01:00
2026-09-20 13:59:26 +01:00
2026-09-22 17:30:28 +01:00
2026-09-20 13:59:25 +01:00
2026-09-14 18:49:19 +01:00
2026-09-12 21:31:34 +01:00
2026-09-12 21:31:35 +01:00
2026-09-13 17:47:55 +01:00
2026-09-17 11:09:52 +01:00
2026-09-22 17:30:28 +01:00
2026-09-22 17:30:28 +01:00
2026-09-20 13:59:25 +01:00
2026-09-10 22:44:40 +01:00
2026-09-23 17:01:39 +01:00
2026-09-13 17:47:57 +01:00
2026-09-25 16:01:47 +01:00
2026-09-16 14:50:54 +01:00
2026-09-17 11:01:37 +01:00
2026-09-17 11:01:38 +01:00
2026-09-25 15:44:21 +01:00
2026-09-23 17:02:17 +01:00
2026-09-11 22:46:27 +01:00
2026-09-21 19:10:13 +01:00
2026-09-13 17:47:54 +01:00
2026-09-21 18:04:04 +01:00
2026-09-25 15:44:21 +01:00
2026-09-12 17:36:10 +01:00
2026-09-11 22:46:36 +01:00
2026-09-16 14:43:05 +01:00
2026-09-18 15:16:09 +01:00
2026-09-13 17:47:54 +01:00
2026-09-14 18:52:06 +01:00
2026-09-22 17:30:28 +01:00
2026-09-25 16:01:53 +01:00
2026-09-12 21:49:56 +01:00
2026-09-21 19:13:40 +01:00
2026-09-11 22:46:36 +01:00
2026-09-13 17:47:54 +01:00
2026-09-23 17:01:39 +01:00
2026-09-20 13:59:25 +01:00
2026-09-15 18:01:35 +01:00
2026-09-25 15:44:21 +01:00
2026-09-12 17:39:27 +01:00
2026-09-20 18:53:35 +01:00
2026-09-21 19:06:50 +01:00
2026-09-11 22:46:26 +01:00
2026-09-22 17:30:28 +01:00