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
sample.gop
// add a sample type T struct { n int } func (t *T) Test() { println "call test" } func add(i, j int) func(x int) *T { println i, j return func(x int) *T { println "call", x return &T{x} } } add(100,200) (0).Test()
100 200 call 0 call test
main.gop:17:14: (0).Test undefined (type untyped int has no field or method Test)
e0f975b
gop v1.1.2 build ok.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The following program
sample.gop
triggers an unexpected resultExpected result
Got
main.gop:17:14: (0).Test undefined (type untyped int has no field or method Test)
Gop Version
e0f975b
Additional Notes
gop v1.1.2 build ok.
The text was updated successfully, but these errors were encountered: