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

Bug: can't cast constructor to a function #378

Open
Nadrieril opened this issue Sep 23, 2024 · 0 comments · May be fixed by #465
Open

Bug: can't cast constructor to a function #378

Nadrieril opened this issue Sep 23, 2024 · 0 comments · May be fixed by #465
Assignees
Labels
C-bug A bug in charon

Comments

@Nadrieril
Copy link
Member

This crashes:

let f: fn(u8) -> _ = Some;

because we don't yet know how to interpret Some as a function.

@Nadrieril Nadrieril added the C-bug A bug in charon label Sep 23, 2024
@Nadrieril Nadrieril self-assigned this Sep 23, 2024
@Nadrieril Nadrieril linked a pull request Nov 20, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug A bug in charon
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant