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

Report error when extern definition is marked as inlined #3241

Merged

Conversation

WojciechMazur
Copy link
Contributor

  • Fixes inline extern methods should be not allowed #3236 and extends it also for exported members validations
  • PrepNativeInterop is now split into 2 compilation stages: one running after typer and other after inlines (this is required to support intrinsic based sizeOf / alignmentOf)

@WojciechMazur WojciechMazur merged commit f25d91f into scala-native:main Mar 28, 2023
65 checks passed
@WojciechMazur WojciechMazur deleted the nscplugin/forbid-inline-extern branch March 28, 2023 20:06
WojciechMazur added a commit that referenced this pull request May 23, 2023
* Report error when extern definition is marked as inlined
* Don't allow to inline exported methods and fields

(cherry picked from commit f25d91f)
WojciechMazur added a commit that referenced this pull request Jun 5, 2023
* Report error when extern definition is marked as inlined
* Don't allow to inline exported methods and fields

(cherry picked from commit f25d91f)
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.

inline extern methods should be not allowed
1 participant