Compiler bug: go fn (){ go func() }()
#21433
Labels
Bug
This tag is applied to issues which reports bugs.
Compiler Panic
The V compiler itself paniced. It should not, it should produce nice and readable errors instead.
Status: Confirmed
This bug has been confirmed to be valid by a contributor.
Unit: Checker
Bugs/feature requests, that are related to the type checker.
Describe the bug
this compile error
put
fn(){}()
tostart_2
, it compil okReproduction Steps
v fmt -w exchange.v && v run exchange.v
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
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: