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

Duplicate parameters/arguments #19

Open
aigarashi opened this issue Sep 18, 2021 · 0 comments
Open

Duplicate parameters/arguments #19

aigarashi opened this issue Sep 18, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@aigarashi
Copy link
Contributor

  • Duplicate parameters are not prohibited in function definitions.
  • Duplicate arguments are prohibited in function calls
    • which means we cannot pass one variable multiple times as different arguments while calling functions
    • It is not allowed in ESOP2020 paper though
    • It can(?) be translated to let b = a in let x = f (a, b) in { alias(a, b); ... }
    • It seems that the current implementation of ownership inference supports duplicate arguments in function calls.
      Types of arguments are split before being passed to a function
@aigarashi aigarashi added the enhancement New feature or request label Sep 18, 2021
artoy pushed a commit to artoy/consort that referenced this issue Dec 6, 2021
…undationGroupAtKyotoU/tidyup

Tidied up by moving all LaTeX stuff to paper folder.
artoy pushed a commit to artoy/consort that referenced this issue Dec 21, 2021
…undationGroupAtKyotoU/tidyup

Tidied up by moving all LaTeX stuff to paper folder.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant