[Bug][Compiler-V2] variants not allowed in this context
is generated when the struct has the same name as the module where it is defined
#14950
Labels
🐛 Bug
When compiling the following code using V2:
The following error is generated:
While V1 can compile the code.
The text was updated successfully, but these errors were encountered: