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

Goto to end of block fails #3202

Open
mvertes opened this issue Nov 26, 2024 · 2 comments
Open

Goto to end of block fails #3202

mvertes opened this issue Nov 26, 2024 · 2 comments
Labels
🐞 bug Something isn't working 📦 🤖 gnovm Issues or PRs gnovm related

Comments

@mvertes
Copy link
Contributor

mvertes commented Nov 26, 2024

The following valid Go code fails with gno:

package main

func main() {
	println("Hi")
	goto done
done:
}

// Output:
// Hi
@mvertes mvertes added 🐞 bug Something isn't working 📦 🤖 gnovm Issues or PRs gnovm related labels Nov 26, 2024
@Kouteki Kouteki moved this from Triage to Backlog in 🧙‍♂️gno.land core team Nov 26, 2024
@Kouteki Kouteki added this to the ⏭️Next after mainnet milestone Nov 26, 2024
@petar-dambovaliev
Copy link
Contributor

This code is identical to #3201

@mvertes
Copy link
Contributor Author

mvertes commented Nov 27, 2024

Thanks for noticing, sorry for the (now fixed) pasta error!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working 📦 🤖 gnovm Issues or PRs gnovm related
Projects
Status: Backlog
Development

No branches or pull requests

3 participants