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

MSF and type SCT annotations #962

Open
sarranz opened this issue Nov 15, 2024 · 1 comment
Open

MSF and type SCT annotations #962

sarranz opened this issue Nov 15, 2024 · 1 comment

Comments

@sarranz
Copy link
Collaborator

sarranz commented Nov 15, 2024

This gives an error

fn extra_msf_swap(#[msf, public] reg u64 x) {}

and it makes sense. But this doesn't

fn extra_msf_poly(#[poly=t, msf] reg u64 x) {}

Is this on purpose?

@vbgl
Copy link
Member

vbgl commented Nov 15, 2024

No. Not on purpose. The error comes from the fact that public and msf are incompatible annotations. Do you think they should be allowed both?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants