Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
GearsDatapacks authored and lpil committed Jan 16, 2025
1 parent 6a9c83d commit bd89992
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler-core/src/type_/expression.rs
Original file line number Diff line number Diff line change
@@ -1463,8 +1463,8 @@ impl<'a, 'b> ExprTyper<'a, 'b> {
None => {
self.problems.error(Error::MissingCaseBody { location });
return TypedExpr::Case {
location: location,
type_: self.new_unbound_var(),
location,
type_: return_type,
subjects: typed_subjects,
clauses: Vec::new(),
};

0 comments on commit bd89992

Please sign in to comment.