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

Do polymorphism boxing for the result of regions #651

Closed
phischu opened this issue Oct 22, 2024 · 0 comments · Fixed by #655
Closed

Do polymorphism boxing for the result of regions #651

phischu opened this issue Oct 22, 2024 · 0 comments · Fixed by #655
Assignees

Comments

@phischu
Copy link
Collaborator

phischu commented Oct 22, 2024

The following program returns an integer through a region:

def main() = {
  val x = region r { 42 };
  println(x)
}

It would be great if we would always box these results, we need it in #642.

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

Successfully merging a pull request may close this issue.

2 participants