File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -672,6 +672,18 @@ impl PythonArchEval {
672
672
}
673
673
}
674
674
} else {
675
+ //Even if this is a valid class, we have to be sure that its own bases should have been loaded already
676
+ let sym_file = symbol. borrow ( ) . get_file ( ) . clone ( ) ;
677
+ if let Some ( file) = sym_file {
678
+ if let Some ( file) = file. upgrade ( ) {
679
+ if file. borrow ( ) . build_status ( BuildSteps :: ARCH_EVAL ) != BuildStatus :: DONE {
680
+ SyncOdoo :: build_now ( session, & file, BuildSteps :: ARCH_EVAL ) ;
681
+ }
682
+ if !Rc :: ptr_eq ( & self . file , & file) {
683
+ self . file . borrow_mut ( ) . add_dependency ( & mut file. borrow_mut ( ) , self . current_step , BuildSteps :: ARCH_EVAL ) ;
684
+ }
685
+ }
686
+ }
675
687
loc_sym. borrow_mut ( ) . as_class_sym_mut ( ) . bases . push ( Rc :: downgrade ( & symbol) ) ;
676
688
}
677
689
}
You can’t perform that action at this time.
0 commit comments