[applied] ir: Fix a wrong comment in canonicalize()
Commit Message
Hello,
While looking at something else, I noticed a comment that doesn't make
sense in the canonicalize() Fixed thus.
* src/abg-ir.cc (canonicalize): Fix a comment.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
---
src/abg-ir.cc | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
@@ -14673,8 +14673,10 @@ canonicalize(type_base_sptr t)
// comparison of another type that was being canonicalized
//
// 2/ Or the canonical type has been propagated during the
- // comparison of another type was being canonicalized and that
- // propagated canonical type has been confirmed.
+ // comparison of another type that was being canonicalized and
+ // that propagated canonical type has been confirmed, because
+ // it was depending on a recursive type which comparison
+ // succeeded.
ABG_ASSERT(!t->priv_->canonical_type_propagated()
|| t->priv_->propagated_canonical_type_confirmed());