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
importdatatypesstructData {
id string
}
typeDataCollection= datatypes.DoublyLinkedList[Data]
fnmain() {
mutdata:= DataCollection{}
data.push_back(Data{ id: 'a' })
for d in data {
println(d.id)
}
}
Describe the bug
Reproduction Steps
v runthe program aboveExpected Behavior
Should compile
Current Behavior
cgen error:
nextmethod not foundPossible Solution
No response
Additional Information/Context
No response
V version
V 0.4.11 b7b1c2e
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.