summaryrefslogtreecommitdiff
path: root/test/lsp/go/main.go
blob: d60bcd12ae8cac17c3c6dd9da86ea451d37d8a72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package main;
import (
	"fmt"
)

type X struct {
	y int
}

func main() {
	_, err := fmt.Println("hello world");
	if err != nil {
		return;
	}
	var a X
	println(a.y);
	
}