Skip to content

Commit

Permalink
Typecheck Static - Fix a GCC compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
thepowersgang committed Jan 21, 2024
1 parent df5d26a commit 07320d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hir_typeck/static.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2877,6 +2877,7 @@ HIR::TypeRef StaticTraitResolve::get_field_type(const Span& sp, const ::HIR::Typ
}
}
}
BUG(sp, "Reached end of `get_field_type` - " << ty);
}

StaticTraitResolve::ValuePtr StaticTraitResolve::get_value(const Span& sp, const ::HIR::Path& p, MonomorphState& out_params, bool signature_only/*=false*/, const HIR::GenericParams** out_impl_params_def/*=nullptr*/) const
Expand Down

0 comments on commit 07320d3

Please sign in to comment.