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
importarraysinterfaceAnythingGoes{ }
mutthe_one_array:= []AnythingGoes{}
some_string:='It would suck'another_string:='if I was forced'last_string:='to << every var into the array'random_int:=69// this produces an error, but it shouldn't!the_one_array= arrays.concat(the_one_array, some_string, another_string, last_string, random_int)
// this works but it sucksthe_one_array= arrays.concat(
the_one_array,
AnythingGoes(some_string),
AnythingGoes(another_string),
AnythingGoes(last_string),
AnythingGoes(random_int)
)
// this also works and it sucks
the_one_array << some_string
the_one_array << another_string
the_one_array << last_string
the_one_array << random_int
println(the_one_array)
Reproduction Steps
Run code above, one apoproach at a time
Expected Behavior
the_one_array = arrays.concat(the_one_array, some_string, another_string, last_string, random_int) should just work
Describe the bug
Reproduction Steps
Run code above, one apoproach at a time
Expected Behavior
the_one_array = arrays.concat(the_one_array, some_string, another_string, last_string, random_int)
should just workCurrent Behavior
the_one_array = arrays.concat(the_one_array, some_string, another_string, last_string, random_int)
produces errorsPossible Solution
No response
Additional Information/Context
No response
V version
Current V version: V 0.4.3 29eda89, timestamp: 2023-11-23 16:07:00 +0200
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: