We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
sample.gop
// add a sample //line cmd/gopcomm/community_yap.gox:41:1 this.Get("/error", func(ctx *yap.Context) { //line cmd/gopcomm/community_yap.gox:42:1 ctx.Yap__1("4xx", map[string]interface { }{}) })
//line cmd/gopcomm/community_yap.gox:41:1 this.Get("/error", func(ctx *yap.Context) { //line cmd/gopcomm/community_yap.gox:42:1 ctx.Yap__1("4xx", map[string]interface{}{}) })
$ gop run .\community_yap.gox 2024/02/20 11:48:47.328083 [INFO] cmd/gopcomm/community_yap.gox:582: Started in endpoint: 0.0.0.0:8080
gop v1.2.2 devel windows/amd64
The gop code for this code is:
get "/error", ctx => { ctx.yap "4xx", {} }
So it should be:
ctx.Yap__1("4xx", map[string]interface{}{})
But the generated code takes up two lines:
ctx.Yap__1("4xx", map[string]interface { }{})
The text was updated successfully, but these errors were encountered:
This issue affects the ability of gop delve to accurately breakpoint to the specified line
Sorry, something went wrong.
No branches or pull requests
The following program
sample.gop
triggers an unexpected resultExpected result
Got
Gop Version
gop v1.2.2 devel windows/amd64
Additional Notes
The gop code for this code is:
So it should be:
But the generated code takes up two lines:
The text was updated successfully, but these errors were encountered: