We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following code snippet compiles and runs successfully in Gno, which is incorrect behavior:
package main func v() {} func main() { v = func() {} println(v) }
This code should produce an error indicating that you cannot assign to the function name v, such as:
v
cannot assign to v (neither addressable nor a map index expression)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
The following code snippet compiles and runs successfully in Gno, which is incorrect behavior:
Expected Behavior
This code should produce an error indicating that you cannot assign to the function name
v
, such as:The text was updated successfully, but these errors were encountered: