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
Go+ code
a := [2]int{} a[0] = 2 println("a:", a[0])
generate Golang code a = 0, 0, [2]int{}
a = 0, 0, [2]int{}
package main import fmt "fmt" var a [2]int func main() { //line ./main.gop:2 a = 0, 0, [2]int{} //line ./main.gop:3 (&a)[0] = 2 //line ./main.gop:4 fmt.Println("a:", a[0]) }
The text was updated successfully, but these errors were encountered:
fix goplus#670, cl array check bound init size
cc0df34
Merge pull request #672 from visualfc/chktyp
2e539b1
fix #668 #669 #670 #671 load addr and slice/array error
Successfully merging a pull request may close this issue.
Go+ code
generate Golang code
a = 0, 0, [2]int{}
The text was updated successfully, but these errors were encountered: