Skip to content

Commit

Permalink
Update inquire.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
mtshiba committed Sep 15, 2024
1 parent d87c5d5 commit 46c349d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/erg_compiler/context/inquire.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 46c349d

Please sign in to comment.