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

     1  package main
     2  
     3  import "fmt"
     4  
     5  type I1 interface{ A }
     6  
     7  type A = I2
     8  
     9  type I2 interface{ F() I1 }
    10  
    11  func main() {
    12  	var i I1
    13  	fmt.Println(i)
    14  }
    15  
    16  // Output:
    17  // <nil>