feat: support query of cross-module references (#42)

* feat: support cross-module references by wild-card import

* feat: support cross-module references by ident import

* feat: support cross-module references by alias import

* docs: update readme

* dev: remove two debug printing
This commit is contained in:
Myriad-Dreamin 2024-03-15 15:43:42 +08:00 committed by GitHub
parent fe25933d0e
commit 5fa4f8f94f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 360 additions and 136 deletions

View file

@ -140,10 +140,10 @@ fn inlay_hint(
Value::Func(f) => Some(f),
_ => None,
})?;
log::info!("got function {func:?}");
log::debug!("got function {func:?}");
let call_info = analyze_call(func, args)?;
log::info!("got call_info {call_info:?}");
log::debug!("got call_info {call_info:?}");
let check_single_pos_arg = || {
let mut pos = 0;