Skip to content

fix(merlin): disambiguate lookup by filename without extension - #16536

Merged
anmonteiro merged 1 commit into
mainfrom
anmonteiro/merlin-fallback-source-kind
Oct 5, 2026
Merged

anmonteiro merged 1 commit into
mainfrom
anmonteiro/merlin-fallback-source-kind

Conversation

@anmonteiro

@anmonteiro anmonteiro commented Oct 4, 2026 •

Copy link
Copy Markdown
Collaborator

Select the correct Merlin reader for preprocessed filenames while preserving legacy fallback and copy-line lookup.

Fixes the reader-selection case covered by #16537; compatibility tests are in #16540. Prerequisite for #16522.

Codex session: 019ea5b2-acde-7141-bcbd-e3c833c8eefe.

@anmonteiro
anmonteiro marked this pull request as ready for review October 4, 2026 23:37
anmonteiro added a commit that referenced this pull request Oct 5, 2026
Reproduce incorrect implementation/interface reader selection and
ambiguous lookup by filename without extension.

Test-only extraction from #16536; expected output records the existing
buggy behavior.

Signed-off-by: Antonio Nuno Monteiro <[email protected]>
@anmonteiro
anmonteiro force-pushed the anmonteiro/merlin-fallback-source-kind branch 2 times, most recently from 7f017fe to 394901f Compare October 5, 2026 02:26
@anmonteiro
anmonteiro changed the base branch from main to anmonteiro/test-merlin-legacy-fallback October 5, 2026 04:40
anmonteiro added a commit that referenced this pull request Oct 5, 2026
Cover legacy Merlin lookup for unconventional filenames with an
interface and copy-line chains through filename aliases.

Test-only extraction from #16536; both cases pass on main.

Signed-off-by: Antonio Nuno Monteiro <[email protected]>
Base automatically changed from anmonteiro/test-merlin-legacy-fallback to main October 5, 2026 04:49
An error occurred while trying to automatically change base from anmonteiro/test-merlin-legacy-fallback to main October 5, 2026 04:49
@anmonteiro
anmonteiro force-pushed the anmonteiro/merlin-fallback-source-kind branch from 394901f to 08efd19 Compare October 5, 2026 04:51
@anmonteiro
anmonteiro merged commit e0d4c8a into main Oct 5, 2026
36 checks passed
@anmonteiro
anmonteiro deleted the anmonteiro/merlin-fallback-source-kind branch October 5, 2026 05:20
@anmonteiro
anmonteiro restored the anmonteiro/merlin-fallback-source-kind branch October 5, 2026 05:36
@anmonteiro
anmonteiro deleted the anmonteiro/merlin-fallback-source-kind branch October 5, 2026 05:38
@Alizter Alizter added this to the 3.26.0 milestone Oct 5, 2026
anmonteiro added a commit that referenced this pull request Oct 18, 2026
Retain compilation mode, source kind, and counterpart metadata for
plural Merlin lookup, while preserving legacy `File` behavior.

Follows #16536. Preparation for single-context editor support;
originally anmonteiro#111.

---------

Signed-off-by: Antonio Nuno Monteiro <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants