Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to define implicit class or extension in extern object/trait #3538

Conversation

WojciechMazur
Copy link
Contributor

Currently we are allowed to define a custom object/class within the @extern object, however we're disallowed to do the same with implicit class or extension becouse at the time od code-gen they're already a regular method

This PR changes this, allowing to use implicit class/extension in extern to make it more consisient with the rest @extern definitions. This would allow to define Struct wrappers in the same object and though improve the implicits search

@WojciechMazur WojciechMazur merged commit 2e4b6d5 into scala-native:main Oct 6, 2023
79 of 81 checks passed
@WojciechMazur WojciechMazur deleted the nscplugin/allow-implicit-class-in-extern branch October 6, 2023 09:21
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.

None yet

1 participant