github.com/traefik/yaegi@v0.15.1/_test/fun24.go (about)

     1  package main
     2  
     3  func f(x int) (int, int) { return x, "foo" }
     4  
     5  func main() {
     6  	print("hello")
     7  }
     8  
     9  // Error:
    10  // cannot use "foo" (type stringT) as type intT in return argument