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

Qualifiers are sensitive to ordering #3232

Open
R1kM opened this issue Apr 4, 2024 · 0 comments
Open

Qualifiers are sensitive to ordering #3232

R1kM opened this issue Apr 4, 2024 · 0 comments

Comments

@R1kM
Copy link
Collaborator

R1kM commented Apr 4, 2024

Consider the following code:

module Test

inline_for_extraction noextract
val f (x:int) : unit

noextract inline_for_extraction
let f x = ()

Attempting to typecheck currently raises the following error

(Error 93) - Inconsistent qualifier annotations on f
  - Expected 'inline_for_extraction noextract'
    got 'noextract inline_for_extraction'

Ideally, the order of qualifiers would not matter, the only requirement should be that the sets match.

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

No branches or pull requests

1 participant