Skip to content

Go struct/interface type declarations have no useful scopes #1786

@josharian

Description

@josharian
Collaborator

For discussion over voice. Some sample code for us to look at together (which I will explain as needed over voice):

package p

type Struct struct {
	X int `json:"x,omitempty" yaml:"x,flow" xml:"x"`
	Y int `non-standard tag`
	a, b string
	T struct {
		a [1]int
	}
	EmbeddedType
	fmt.Stringer
	*EmbeddedPointerType
}

type Interface interface {
	F()
	io.Reader
}

type Constraint interface {
	~int | int64
	io.Writer
}

Activity

added
to discussPlan to discuss at meet-up
lang-goIssues related to Go programming language support
on Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    lang-goIssues related to Go programming language support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @josharian@pokey

        Issue actions

          Go struct/interface type declarations have no useful scopes · Issue #1786 · cursorless-dev/cursorless