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

Drop "in" qualifier from function parameters #134

Merged
merged 1 commit into from
May 7, 2022

Conversation

jwatzman
Copy link
Contributor

@jwatzman jwatzman commented May 7, 2022

This is the default and so doesn't need to be specified.

The const qualifier is similarly redundant (any program valid with the qualifier is valid without it) -- actually true beyond just function parameters -- but I wasn't sure where the compiler might use it for optimisations so I stuck with what was safe.

src/ast.fs Outdated Show resolved Hide resolved
Copy link
Owner

@laurentlb laurentlb left a comment

Choose a reason for hiding this comment

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

Thanks!

src/ast.fs Outdated Show resolved Hide resolved
@laurentlb
Copy link
Owner

I'll merge when the conflict in tests is fixed

This is the default and so doesn't need to be specified.
@laurentlb laurentlb merged commit eee9187 into laurentlb:master May 7, 2022
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

3 participants