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
-- abc.go
// add a sample package abc const GopPackage = true type M[T any] struct { } func (m *M[T]) Foo__0() { } func (m *M[T]) Foo__1(a string) { } func Bar__0() { println("foo__0") } func Bar__1[T any](a T) { println("foo__1", a) }
-- main.gop
import "github.com/visualfc/demo/abc" abc.bar "world" //build pass var m abc.M[int] m.foo "world" // build error
build pass
panic: ./main.gop:4:1: too many arguments in call to m.foo "world" have (untyped string) want ()
gop v1.1.5
No response
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 result-- abc.go
-- main.gop
Expected result
build pass
Got
Gop Version
gop v1.1.5
Additional Notes
No response
The text was updated successfully, but these errors were encountered: