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

parse error when only one error value , ErrWrap bug #778

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

parse error when only one error value , ErrWrap bug #778

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

Comments

@lbx-ai
Copy link

lbx-ai commented Sep 4, 2021

package main

func t()error{
return nil
}

func main() {
t()!
}

output: TODO: can't use ErrWrapExpr in non function call

@xushiwei xushiwei added the bug label Sep 6, 2021
@xushiwei xushiwei added this to the Go+ v1.0 milestone Sep 6, 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