Skip to content

Couple of semantic token issues #1558

Description

@thetarnav

Few noticed semantic token issues to correct

generic_proc :: proc ($FOO: int) {
    //                  ⤷ `FOO` has no token

    FOO // `FOO` has a `@lsp.type.typeParameter.odin`
        // even though it's not a type
        // probably it's hardcoded for `$T: typeid` case
}
Foo :: struct {
	callback: proc ()
}
foo: Foo
foo.callback()
//     ⤷ `callback` is @lsp.type.property.odin
//        while it should probably be @lsp.type.function.odin

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions