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

Always call defaulted atom arguments #3358

Merged
merged 7 commits into from
Apr 8, 2022

Conversation

kustosz
Copy link
Contributor

@kustosz kustosz commented Mar 23, 2022

Pull Request Description

Solves the issue of defaulted args not being called in atoms. Doesn't solve the more general function issue.

Important Notes

Checklist

Please include the following checklist in your PR:

  • The documentation has been updated if necessary.
  • All code conforms to the Scala, Java, and Rust style guides.
  • All code has been tested:
    • Unit tests have been written where possible.
    • If GUI codebase was changed: Enso GUI was tested when built using BOTH ./run dist and ./run watch.

Copy link
Contributor

@hubertp hubertp left a comment

Choose a reason for hiding this comment

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

nit

@@ -718,7 +718,7 @@ object BindingsMap {
* @param name the name of the constructor.
* @param arity the number of fields in the constructor.
*/
case class Cons(name: String, arity: Int)
case class Cons(name: String, arity: Int, allFieldsDefaulted: Boolean)
Copy link
Contributor

Choose a reason for hiding this comment

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

missing doc

@4e6 4e6 added the CI: Ready to merge This PR is eligible for automatic merge label Apr 8, 2022
@mergify mergify bot merged commit 4e51f31 into develop Apr 8, 2022
@mergify mergify bot deleted the compiler/wip/mk/atom-defaulted-args branch April 8, 2022 08:22
farmaazon pushed a commit that referenced this pull request Apr 11, 2022
Solves the issue of defaulted args not being called in atoms. Doesn't solve the more general function issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: Ready to merge This PR is eligible for automatic merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants