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
The following program fibs.go doesn't run the same way like in Go:
fibs.go
package main import "fmt" func main() { a, b := 1, 1 for i := 0; i < 10; i++ { fmt.Println(a) a, b = b, a+b } }
Expected result:
$ go run fibs.go 1 1 2 3 5 8 13 21 34 55
Got:
$ yaegi fibs.go 1 2 4 8 16 32 64 128 256 512
The text was updated successfully, but these errors were encountered:
interp: do not skip use of tmp frame in multi-assign
3dfaae5
Fixes #1052.
ec5392d
Thanks for fixing the issue!
Sorry, something went wrong.
mvertes
Successfully merging a pull request may close this issue.
The following program
fibs.go
doesn't run the same way like in Go:Expected result:
Got:
The text was updated successfully, but these errors were encountered: