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

Closure Type Inference #3

Open
uberFoo opened this issue Jul 7, 2023 · 0 comments
Open

Closure Type Inference #3

uberFoo opened this issue Jul 7, 2023 · 0 comments

Comments

@uberFoo
Copy link
Owner

uberFoo commented Jul 7, 2023

The lambda.tao test contains the following bit of code:

runner(|| {
    chacha::assert_eq(answer, 42);
    // This is pretty lame. I think the extent of the type checking machinery
    // is going to need to be updated.
    answer as int = 69;
});

That last line bothers me, as the comment indicates.

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

No branches or pull requests

1 participant