builder error: Compiler confuses declarations of const expressions when they are located in different files #20970
Labels
Bug
This tag is applied to issues which reports bugs.
Unit: cgen
Bugs/feature requests, that are related to the default C generating backend.
Describe the bug
The bug happens when using expressions that result in different types for constants and the consts are declared in different files.
Reproduction Steps
Expected Behavior
Program is able to compile and run.
Current Behavior
Builder error
Possible Solution
No response
Additional Information/Context
Tested on macOS arm and ubuntu arm.
V version
Environment details (OS name and version, etc.)
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: