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

getting error string instead of panic #32847

Closed
gaplyk opened this issue Jun 28, 2019 · 1 comment
Closed

getting error string instead of panic #32847

gaplyk opened this issue Jun 28, 2019 · 1 comment

Comments

@gaplyk
Copy link

gaplyk commented Jun 28, 2019

What version of Go are you using (go version)?

$ go version
go1.12.5

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

i don't know environment behind playground.

What did you do?

https://play.golang.org/p/jRplZeblynF

What did you expect to see?

I expect to see panic as panic not as an error

What did you see instead?

string error

@bcmills
Copy link
Contributor

bcmills commented Jun 28, 2019

Duplicate of #28150

@bcmills bcmills marked this as a duplicate of #28150 Jun 28, 2019
@bcmills bcmills closed this as completed Jun 28, 2019
@golang golang locked and limited conversation to collaborators Jun 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants