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.go
package main import "fmt" func main() { fmt.Println(max(1, 2)) }
$ go run ./sample.go 2
$ yaegi ./sample.go run: sample.go:6:14: undefined: max
v0.16.1
These functions should be part of Go 1.21: https://go.dev/ref/spec#Min_and_max
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following program
sample.go
triggers an unexpected resultExpected result
Got
Yaegi Version
v0.16.1
Additional Notes
These functions should be part of Go 1.21: https://go.dev/ref/spec#Min_and_max
The text was updated successfully, but these errors were encountered: