Merge branch 'main' into perf_or_type

This commit is contained in:
Shunsuke Shibayama 2024-09-16 21:31:53 +09:00
commit 6781db1588
4 changed files with 124 additions and 32 deletions

View file

@ -1971,7 +1971,7 @@ impl Context {
namespace,
)
}
Type::Failure => Ok(SubstituteResult::Ok),
Type::Failure | Type::Never => Ok(SubstituteResult::Ok),
_ => self.substitute_dunder_call(
obj,
attr_name,