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

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