-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
plugin: crash when using ...interface{} as func args #25118
Comments
The signature of I'm kind of surprised that the line Use |
I was right to be surprised. It doesn't succeed.
What's different about what you're doing and what I did? |
Sorry about the signature of plugin.Main, I just posted the wrong code of main.go. |
Ok, that makes more sense. |
@randall77 - Feel free to change it to "NeedsFix" if you think so. |
It does appear fixed at tip. |
@edwardhey - Can you try with tip ? |
#23369 ?I tried, crash too.
|
@edwardhey no, not try to reproduce #23369. Try your test case with Go tip (not 1.10.1). It works for me locally. |
@cherrymui I tried with 1.10.2, still crash. |
@edwardhey Can you try with the 1.11beta1 release? Thanks. |
@ianlancetaylor It works fine with 1.11beta1 release in my darwin/amd64 os, that will panic with 1.10.2 and 1.10.3. |
Thanks, closing. |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?1.10.1
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?What did you do?
plugin.go
build plugin
main.go
run main.go
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: