Wrong warning "reference field must be initialized" when directly initialize embedded struct #18376
Labels
Bug
This tag is applied to issues which reports bugs.
Unit: Compiler
Bugs/feature requests, that are related to the V compiler in general.
Describe the bug
Code: https://vosca.dev/p/8e06c54374
Expected Behavior
No warnings
Current Behavior
Output:
Reproduction Steps
Run code above
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.3.4 fc4c431.45f16a2
Environment details (OS name and version, etc.)
The text was updated successfully, but these errors were encountered: