noir-lang/noir

LSP go to definition doesn't work from `use` statement

Closed this issue · 0 comments

Aim

Given this program:

mod foo {
    pub fn another_function() -> Field {
        3 + 4
    }
}

use foo::another_function; // <--- here

fn main() {
    let _ = another_function();
}

trying "go to definition" at the pointed location doesn't work

Expected Behavior

It should take you to the second line of the program.

Bug

Described above.

To Reproduce

No response

Project Impact

None

Impact Context

No response

Workaround

None

Workaround Description

No response

Additional Context

No response

Installation Method

None

Nargo Version

No response

NoirJS Version

No response

Would you like to submit a PR for this Issue?

Yes

Support Needs

No response