Skip to content
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

ErrWrap bug #772

Closed
lbx-ai opened this issue Sep 2, 2021 · 0 comments
Closed

ErrWrap bug #772

lbx-ai opened this issue Sep 2, 2021 · 0 comments
Labels
Milestone

Comments

@lbx-ai
Copy link

lbx-ai commented Sep 2, 2021

package main

func t()(int,int,error){
return 0,0,nil
}

func main() {
a,b := t()!
println(a,b)
}

output: assignment mismatch: 2 variables but t returns 3 values

@xushiwei xushiwei added the bug label Sep 2, 2021
@xushiwei xushiwei added this to the Go+ v1.0 milestone Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants