-
Notifications
You must be signed in to change notification settings - Fork 98
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
JIT: Support block statements #1841
Conversation
d73c3d4
to
f4e2824
Compare
1c9fefe
to
1a383f3
Compare
1a383f3
to
b24ee27
Compare
.unwrap_or_default(); | ||
|
||
let (vars, code) = check_pattern(var_name, pattern)?; | ||
// TODO if we want to explicitly specify the type, we need to exchange the non-captured |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just a note in case we need it in the future if rust cannot determine the type.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand this comment. It is talking about the type of {vars}
, I assume. But what are the non-captured parts that must be exchanged by ()
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, unless you agree the TODO is a little cryptic.
I'll create a follow-up PR to extend the todo. |
No description provided.