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
(I'm not sure if it's called like that)
This code is able to reuse the name of a constant on another unrelated variable, and it can cause some mistakes.
Reproduction Steps
constitem=24fnmain() {
for i, item in ["abc", "def"] {
println(item)
}
}
Expected Behavior
An error telling me that item is already used.
Current Behavior
It just worked
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.7
Environment details (OS name and version, etc.)
linux
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:
Describe the bug
(I'm not sure if it's called like that)
This code is able to reuse the name of a constant on another unrelated variable, and it can cause some mistakes.
Reproduction Steps
Expected Behavior
An error telling me that
item
is already used.Current Behavior
It just worked
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.7
Environment details (OS name and version, etc.)
linux
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: