You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here we make sure that, all of the imports are valid based on the component metadata that was passed into one of the stages of initial phase within the set of compilation phases. We also make sure to avoid duplicate imports
i.e
pubfninfer_types_initial_phase(&mutself,function_type_registry:&FunctionTypeRegistry,) -> Result<Scope,Vec<String>>{self.validate_imports();// Here is where we add this validationself.bind_types();self.bind_variables_of_list_comprehension();self.bind_variables_of_list_reduce();
.......
}
Introduce a Scope struct such that initial_phase can return a Scope that's probably mutable. For now, it can be kept as simple as
Here we make sure that, all of the imports are valid based on the component metadata that was passed into one of the stages of initial phase within the set of compilation phases. We also make sure to avoid duplicate imports
i.e
Introduce a
Scope
struct such that initial_phase can return a Scope that's probably mutable. For now, it can be kept as simple asThe text was updated successfully, but these errors were encountered: