Open vcker opened 2 months ago
This triggers the same or very similar compiler panic:
fn f() ! {
go fn () {
mut x := 123
go g(mut x)
}()
}
It does not happen without the mut x
argument to go g()
; then it is a normal checker error.
Describe the bug
this compile error
put
fn(){}()
tostart_2
, it compil okReproduction Steps
Expected Behavior
no compile error
Current Behavior
Possible Solution
No response
Additional Information/Context
V version
0.4.5 065399e
Environment details (OS name and version, etc.)
Darwin 21.1.0 Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:23 PDT 2021; root:xnu-8019.41.5~1/RELEASE_X86_64 x86_64