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

Lift * to optional references #3005

Closed
dsainati1 opened this issue Jan 10, 2024 · 0 comments · Fixed by #3008
Closed

Lift * to optional references #3005

dsainati1 opened this issue Jan 10, 2024 · 0 comments · Fixed by #3008
Assignees

Comments

@dsainati1
Copy link
Contributor

Issue to be solved

As mentioned in #2982, it would be nice for the newly introduced * dereference operator to implicitly lift to optional references. I.e., assuming the * operator has type fun<T: Primitive>(_ ref: &T): T, we should implicitly overload the operator to also have type fun<T: Primitive>(_ ref: &T?): T?.

Suggested Solution

No response

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