Skip to content

Commit

Permalink
HIR - Allow sorting equal unevaluated const generics
Browse files Browse the repository at this point in the history
  • Loading branch information
thepowersgang committed Oct 12, 2024
1 parent f62e8a0 commit 890f24e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/hir/hir.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,12 @@ namespace HIR {

if( te->m_mir )
{
assert(xe->m_mir);
// TODO: Compare MIR
TODO(Span(), "Compare non-expanded array sizes - (w/ MIR) " << *this << " and " << x);
if( te.get() != xe.get() )
{
assert(xe->m_mir);
// TODO: Compare MIR
TODO(Span(), "Compare non-expanded array sizes - (w/ MIR) " << *this << " and " << x);
}
}
else
{
Expand Down

0 comments on commit 890f24e

Please sign in to comment.