-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 types with default values don't work in VM #21353
Labels
VM
see also `const` label
Comments
!nim c (var s: proc () = default(proc ()); doAssert s == nil) |
@juancarlospaco (contributor) devel :+1: OKOutput
Stats
stable :+1: OKOutput
Stats
1.6.0 :+1: OKOutput
Stats
1.4.0 :+1: OKOutput
Stats
1.2.0 :+1: OKOutput
Stats
1.0.0 :+1: OKOutput
Stats
41 minutes bisecting 6 commits at 0 commits per second.
|
ringabout
added a commit
that referenced
this issue
Sep 6, 2024
metagn
pushed a commit
that referenced
this issue
Sep 9, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found it when debugging #21351. It doesn't work in VM, because the type of is not correct.
It will become
((nil, nil), (nil, nil))
instead of(nil, nil)
.The text was updated successfully, but these errors were encountered: