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
func intSeq() func() int { i := 0 return => { i++ return i } }
compile passed
panic: compileExpr failed: unknown - *ast.LambdaExpr2
gop v1.1.0-alpha1-256-gf3285c6 darwin/amd64
No response
The text was updated successfully, but these errors were encountered:
goplus#1228: todo
3422846
Merge pull request #1229 from xushiwei/q
647045d
#1228: todo
fix goplus#1228, compileReturnStmt check lambda
5827628
Merge pull request #1230 from visualfc/result_lamda
c0acd98
fix #1228, lamda support in return statement
visualfc
Successfully merging a pull request may close this issue.
The following program
sample.gop
triggers an unexpected resultExpected result
compile passed
Got
panic: compileExpr failed: unknown - *ast.LambdaExpr2
Gop Version
gop v1.1.0-alpha1-256-gf3285c6 darwin/amd64
Additional Notes
No response
The text was updated successfully, but these errors were encountered: