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

     1  package main
     2  
     3  func (f *Foo) Bar() int {
     4  	return *f * *f
     5  }
     6  
     7  func main() {
     8  }
     9  
    10  // Error:
    11  // 3:1: undefined: Foo