Skip to content

[Bug] Go to definition does not work for make #1167

@BigBoyBarney

Description

@BigBoyBarney

Hi!

This doesn't happen with my own proc groups, only with make:

x := make([]int, 4, context.temp_allocator) // Goes to a seemingly random make definition or call.

one :: proc(x: int) {}
two :: proc(y: bool) {}
three :: proc() {}

test :: proc {
    one,
    two,
    three,
}

test() // goes to the proc group

Video:

Example.mp4

Cheers!

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