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

fix: add missing return to Trait::operator T(void) #61

Merged

Conversation

vil02
Copy link
Contributor

@vil02 vil02 commented Jan 28, 2024

Description

There is a missing return statement in this line:

this->cast<T>(

This PR fixes that.

Checklist

  • A description of the changes in this PR is mentioned above.
  • All the new and existing tests pass.
  • The code follows the code style and conventions of the project.
  • No plagiarized, duplicated, or repetitive code that has been directly copied from another source.
  • I have read the whole Contributing guidelines of the project and its resources/related pages.

Screenshots (if any)

Note to reviewers

Add missing return to Trait::operator T(void).

@mertcandav mertcandav self-requested a review January 28, 2024 09:20
@mertcandav mertcandav added bug Something isn't working runtime Related with std/runtime or compiled behavior release-blocker Something critical must be solved before release api About API (C++ API, not std/runtime API implementation) labels Jan 28, 2024
Copy link
Member

@mertcandav mertcandav left a comment

Choose a reason for hiding this comment

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

I can confirm that the return is missing.

Thanks for your attention and contribution.

@mertcandav mertcandav merged commit 096e109 into julelang:master Jan 28, 2024
4 checks passed
@vil02 vil02 deleted the add_missing_return_to_trait_c_cast branch January 28, 2024 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api About API (C++ API, not std/runtime API implementation) bug Something isn't working release-blocker Something critical must be solved before release runtime Related with std/runtime or compiled behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants