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

Refine condition for prohibiting scalar return values #1838

Merged
merged 1 commit into from
Dec 30, 2024

Conversation

tbennun
Copy link
Collaborator

@tbennun tbennun commented Dec 29, 2024

The check disallowed valid cases where return values that are not returned to the Python frontend were disallowed. Scalar return values in nested functions take the form of a reference, which is not supported with our current Python bindings.

Copy link
Collaborator

@philip-paul-mueller philip-paul-mueller left a comment

Choose a reason for hiding this comment

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

LGTM.

@tbennun tbennun added this pull request to the merge queue Dec 30, 2024
Merged via the queue into main with commit 1b25eb7 Dec 30, 2024
9 checks passed
@tbennun tbennun deleted the scalar-return-refinement branch December 30, 2024 17:35
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.

2 participants