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 · May be fixed by #3252
Open

Goto to end of block fails #3202

mvertes opened this issue Nov 26, 2024 · 2 comments · May be fixed by #3252
Assignees
Labels
🐞 bug Something isn't working in focus Core team is prioritizing this work 📦 🤖 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!

@petar-dambovaliev petar-dambovaliev self-assigned this Nov 29, 2024
@petar-dambovaliev petar-dambovaliev linked a pull request Nov 30, 2024 that will close this issue
@petar-dambovaliev petar-dambovaliev moved this from Backlog to In Review in 🧙‍♂️gno.land core team Nov 30, 2024
@Kouteki Kouteki added the in focus Core team is prioritizing this work label Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working in focus Core team is prioritizing this work 📦 🤖 gnovm Issues or PRs gnovm related
Projects
Status: In Review
Development

Successfully merging a pull request may close this issue.

3 participants