github.com/v2fly/tools@v0.100.0/internal/lsp/testdata/godef/broken/unclosedIf.go.in (about)

     1  package broken
     2  
     3  import "fmt"
     4  
     5  func unclosedIf() {
     6  	if false {
     7  		var myUnclosedIf string              //@myUnclosedIf
     8  		fmt.Printf("s = %v\n", myUnclosedIf) //@godef("my", myUnclosedIf)
     9  }