You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 729ce33
Browse filesBrowse the repository at this point in the historyBrowse files
fix(java): register generated record accessors by qualified name only
A record's implicit accessors are members the compiler writes and the
source never spells. Their nodes now carry the property generated=record,
and every registry registration path files them in the exact
(qualified-name) map only, never in the short-name index. The Java
type-aware resolver still binds p.y() on a Point to Point.y; a call such
as v.y() on a type from outside the project no longer binds the accessor
through a unique_name / suffix_match / field_type_hint / fuzzy guess.
- extract_defs.c: each implicit accessor carries extra_props
generated=record (key CBM_PROP_GENERATED, cbm.h).
- registry.c: cbm_registry_add_qn_only, and the pure predicates
cbm_def_props_generated / cbm_node_props_generated.
- pass_definitions.c, pass_parallel.c, pipeline_incremental.c: the three
registration sites route a generated member to the exact map only.
- pipeline_delta.c: the incremental preseed proxy keeps the mark, so an
incremental re-index registers the member exactly as a full one does
(the proxy carried only a few properties and the accessor came back
into the short-name index).
Tests: pipeline_java_record_accessors_generated_qn_only (sequential,
parallel and incremental venues) and two registry unit tests.
Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
0 commit comments