-
Notifications
You must be signed in to change notification settings - Fork 397
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
AST Output When Using Unsupported Keyworkds #3751
Comments
I've got this! I have started sending PRs fixing these and making the output more prespective. Please feel free to assign this to me. |
odeke-em
added a commit
to odeke-em/gno
that referenced
this issue
Feb 14, 2025
…nrecognized for Gno The *ast.IndexListExpr is used for generics but in assignment operations it is illegal to use. This change returns a proper error and matches Go's output. Also *ast.GoStmt is for spawning Go routines but those are forbidden in Gno, hence reject them prescriptively instead of just spewing out the raw ast type. Fixes gnolang#3731 Updates gnolang#3751
I've mailed out to begin with #3752 |
odeke-em
added a commit
to odeke-em/gno
that referenced
this issue
Feb 18, 2025
…nrecognized for Gno The *ast.IndexListExpr is used for generics but in assignment operations it is illegal to use. This change returns a proper error and matches Go's output. Also *ast.GoStmt is for spawning Go routines but those are forbidden in Gno, hence reject them prescriptively instead of just spewing out the raw ast type. Fixes gnolang#3731 Updates gnolang#3751
odeke-em
added a commit
to odeke-em/gno
that referenced
this issue
Feb 18, 2025
…nrecognized for Gno The *ast.IndexListExpr is used for generics but in assignment operations it is illegal to use. This change returns a proper error and matches Go's output. Also *ast.GoStmt is for spawning Go routines but those are forbidden in Gno, hence reject them prescriptively instead of just spewing out the raw ast type. Fixes gnolang#3731 Updates gnolang#3751
odeke-em
added a commit
to odeke-em/gno
that referenced
this issue
Feb 22, 2025
…nrecognized for Gno The *ast.IndexListExpr is used for generics but in assignment operations it is illegal to use. This change returns a proper error and matches Go's output. Also *ast.GoStmt is for spawning Go routines but those are forbidden in Gno, hence reject them prescriptively instead of just spewing out the raw ast type. Fixes gnolang#3731 Updates gnolang#3751
odeke-em
added a commit
to odeke-em/gno
that referenced
this issue
Feb 22, 2025
…nrecognized for Gno The *ast.IndexListExpr is used for generics but in assignment operations it is illegal to use. This change returns a proper error and matches Go's output. Also *ast.GoStmt is for spawning Go routines but those are forbidden in Gno, hence reject them prescriptively instead of just spewing out the raw ast type. Fixes gnolang#3731 Updates gnolang#3751
odeke-em
added a commit
to odeke-em/gno
that referenced
this issue
Feb 22, 2025
…nrecognized for Gno The *ast.IndexListExpr is used for generics but in assignment operations it is illegal to use. This change returns a proper error and matches Go's output. Also *ast.GoStmt is for spawning Go routines but those are forbidden in Gno, hence reject them prescriptively instead of just spewing out the raw ast type. Fixes gnolang#3731 Updates gnolang#3751
odeke-em
added a commit
to odeke-em/gno
that referenced
this issue
Feb 22, 2025
…nrecognized for Gno The *ast.IndexListExpr is used for generics but in assignment operations it is illegal to use. This change returns a proper error and matches Go's output. Also *ast.GoStmt is for spawning Go routines but those are forbidden in Gno, hence reject them prescriptively instead of just spewing out the raw ast type. Fixes gnolang#3731 Updates gnolang#3751
odeke-em
added a commit
to odeke-em/gno
that referenced
this issue
Feb 22, 2025
…nrecognized for Gno The *ast.IndexListExpr is used for generics but in assignment operations it is illegal to use. This change returns a proper error and matches Go's output. Also *ast.GoStmt is for spawning Go routines but those are forbidden in Gno, hence reject them prescriptively instead of just spewing out the raw ast type. Fixes gnolang#3731 Updates gnolang#3751
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Currently gno does not support
go
keyword. When this keyword is used in tests, it outputs the AST instead of an appropriate error message.Reproduction
Current Output
Expected Behaviour
When using the unsupported keyword, a clear error message such as "keyword is not supported" should be displayed instead of the AST output.
The text was updated successfully, but these errors were encountered: