Skip to content

fix(ffi): accept colon-less exposedMethods selectors with declared params - #62

Merged
DjDeveloperr merged 1 commit into
mainfrom
fix/ffi-exposedmethods-colonless-selectors
Aug 10, 2026
Merged

fix(ffi): accept colon-less exposedMethods selectors with declared params#62
DjDeveloperr merged 1 commit into
mainfrom
fix/ffi-exposedmethods-colonless-selectors

Conversation

@NathanWalker

@NathanWalker NathanWalker commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

The Objective-C runtime allows a method whose selector has no colons to
carry argument slots in its type encoding, and callers such as
NSNotificationCenter invoke it with the argument. @nativescript/core relies
on this (NotificationObserver exposes onReceive with one NSNotification
param). Only reject the selector/params count mismatch when the selector
explicitly declares argument slots.

Found while bringing @nativescript/core up on the ios-quickjs runtime flavor. All fixes in this series were validated together on the iOS 26.5 simulator using a SolidJS + dominative app boots, renders, and runs stably with all of them applied.

🤖 Generated with Claude Code

…rams

The Objective-C runtime allows a method whose selector has no colons to
carry argument slots in its type encoding, and callers such as
NSNotificationCenter invoke it with the argument. @nativescript/core relies
on this (NotificationObserver exposes onReceive with one NSNotification
param). Only reject the selector/params count mismatch when the selector
explicitly declares argument slots.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 9, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 35e31f46-6b62-448d-9768-0442e88d0220

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@NathanWalker
NathanWalker marked this pull request as ready for review August 9, 2026 17:01

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Good catch

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Good catch

@DjDeveloperr
DjDeveloperr merged commit d045291 into main Aug 10, 2026
2 checks 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.

2 participants