Debian Codegraph @

_test/issue-1068.go

raw symbols SCIP
1 package main
2
3 type I interface {
4 Hello()
5 }
6
7 type T struct{}
8
9 func (t T) Hello() { println("hello") }
10
11 type I2 I
12
13 func main() {
14 var i I2 = T{}
15 i.Hello()
16 }
17
18 // Output:
19 // hello