Skip to content

Commit

Permalink
HIR Typecheck - Possibly fix a MSVC build error
Browse files Browse the repository at this point in the history
  • Loading branch information
thepowersgang committed Jun 23, 2024
1 parent 7a09802 commit 27828f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hir_typeck/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -456,13 +456,13 @@ ::HIR::Path Monomorphiser::monomorph_path(const Span& sp, const ::HIR::Path& tpl
if( e2.hrtbs /*&& !ignore_hrls*/ ) {
m_hrb_stack.push_back(e2.hrtbs.get());
}
auto rv = ::HIR::Path::Data::make_UfcsKnown({
auto rv = ::HIR::Path(::HIR::Path::Data::make_UfcsKnown({
this->monomorph_type(sp, e2.type, allow_infer),
this->monomorph_genericpath(sp, e2.trait, allow_infer, false),
e2.item,
this->monomorph_path_params(sp, e2.params, allow_infer),
e2.hrtbs ? box$(e2.hrtbs->clone()) : nullptr
});
}));
if( e2.hrtbs /*&& !ignore_hrls*/ ) {
m_hrb_stack.pop_back();
}
Expand Down

0 comments on commit 27828f6

Please sign in to comment.