nac3artiq: update InnerResolver's "pyid_to_type" table if class contain constructor function #309
|
@ -551,7 +551,8 @@ impl InnerResolver {
|
|||
let constructor_ty = pyid_to_def
|
||||
.get(&py_obj_id)
|
||||
.and_then(|def_id| {
|
||||
defs.iter()
|
||||
defs
|
||||
.iter()
|
||||
.find_map(|def| {
|
||||
if let TopLevelDef::Class {
|
||||
object_id, methods, constructor, ..
|
||||
|
|
Loading…
Reference in New Issue