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
Or inform rows << [] should be changed by row << []string{}
Current Behavior
Running code...
Can't run code. The server returned an error:
/tmp/v_60000/../../../../../../box/code.v:7: error: pointer expected
builder error:
==================
C error found. It should never happen, when compiling pure V code.
Describe the bug
We have an array of arrays
rows = [][]string{}
and push a not defined empty arrayrows << [ ]
and got a C error.Operation
rows << [ ]
is not marked as invalid.A workaround is to push like this:
rows << []string{}
.Reproduction Steps
Expected Behavior
Print:
Or inform
rows << []
should be changed byrow << []string{}
Current Behavior
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.9 a59ebea
Environment details (OS name and version, etc.)
https://play.vlang.io/p/734e07e5c5
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: