New issue
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
Cannot compile program that contains method that has pointer type receiver #58
Comments
The correct syntax is
|
I'll update the compiler so that |
This assumption is correct :) |
OK, I understood. |
Fixed. You should now get |
I have confirmed . |
I don't think letting pointers implicitly dereference is a good idea, and it seems to go against the simple philosophy of V: mut i := 5
p := &i
i = p // confusing, should be an error
i = *p // OK Edit: See #61 |
Steps to reproduce:
You just found a bug. V can't compile this program, but it should. Please create a GitHub issue.
The text was updated successfully, but these errors were encountered: