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
Is it expected that the overloaded function defined in classfile is not recognized as overload
over.gox
func addString(a, b string) string { return a + b } func add = ( func(a, b int) int { return a + b } addString )
main.gop
ov := &over{} println ov.add__0(1, 1) // 2 println ov.addString("1", "1") // 11 // println ov.add(1, 1) // got error
2 11 2
$ gop run . main.gop:5:9: ov.add undefined (type *over has no field or method add) ===> errors stack: gop.LoadDir(".", 0x140000a35e0, false) /Users/zhangzhiyang/Documents/Code/goplus/gop/gengo.go:169 LoadDir(dir, conf, genTestPkg) gop.GenGo(".", 0x140000a35e0, false) /Users/zhangzhiyang/Documents/Code/goplus/gop/build_install_run.go:142 GenGo(dir, conf, false)
v1.2.x
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is it expected that the overloaded function defined in classfile is not recognized as overload
over.gox
main.gop
Expected result
Got
Gop Version
v1.2.x
Additional Notes
No response
The text was updated successfully, but these errors were encountered: