You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
structTest {
a []int
}
t:= Test {}
unsafe {
if t.a != nil {
dump(t.a)
}
}
Reproduction Steps
See code
Expected Behavior
A better error message
Current Behavior
Output:
/tmp/v_60000/../../../../../../box/code.v:6: error: cannot convert 'struct array' to 'unsigned long'
builder error:
==================
C error found. It should never happen, when compiling pure V code.
This is a V compiler bug, please report it using `v bug file.v`,
or goto https://github.com/vlang/v/issues/new/choose .
You can also use #help on Discord: https://discord.gg/vlang .
Exited with error status 1
Describe the bug
Code: https://play.vlang.io/p/8cd927fdbb
Reproduction Steps
See code
Expected Behavior
A better error message
Current Behavior
Output:
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.7 21339fe
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: