Skip to content

Commit

Permalink
Register method names as ids
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed May 7, 2024
1 parent db7f1fb commit b20b372
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/code_info_builder/lib.rs
Expand Up @@ -593,6 +593,11 @@ impl<'ast> Visitor<'ast> for Scanner<'_> {
c.has_static_field_access = true;
}
}
aast::Expr_::ObjGet(boxed) => {
if let aast::Expr_::Id(id) = &boxed.1 .2 {
self.interner.intern(id.1.clone());
}
}
aast::Expr_::Call(boxed) => {
if let aast::Expr_::Id(boxed_id) = &boxed.func.2 {
if let Some(&StrId::ASIO_JOIN) =
Expand Down

0 comments on commit b20b372

Please sign in to comment.