Skip to content

fix(protocol): remove ambiguous .m language mapping#364

Merged
dimakis merged 1 commit into
mainfrom
fix/language-ambiguous-extensions
Jun 2, 2026
Merged

fix(protocol): remove ambiguous .m language mapping#364
dimakis merged 1 commit into
mainfrom
fix/language-ambiguous-extensions

Conversation

@dimakis
Copy link
Copy Markdown
Owner

@dimakis dimakis commented Jun 2, 2026

Summary

  • Remove .m → objectivec mapping from EXT_MAP.m is ambiguous (Objective-C vs MATLAB/Octave)
  • Keep .mm → objectivec (unambiguous Objective-C++)
  • Update tests: .m now returns undefined, add explicit .mm test

Addresses Centaur review finding on PR #357.

Test plan

  • vitest run packages/protocol/__tests__/language.test.ts — 32/32 pass
  • Centaur review

🤖 Generated with Claude Code

.m is used by both Objective-C and MATLAB/Octave. Remove the ambiguous
mapping so these files return undefined rather than a wrong guess.
.mm (Objective-C++) remains — it's unambiguous.

Addresses Centaur review finding on PR #357.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown
Owner Author

@dimakis dimakis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Centaur Review

LGTM — no issues found.

@dimakis dimakis merged commit 24b5a07 into main Jun 2, 2026
1 check passed
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.

1 participant