Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/Unify.cc

    r9d8124f r943bfad  
    943943                        // check that the other type is compatible and named the same
    944944                        auto otherInst = dynamic_cast< const XInstType * >( other );
    945                         if (otherInst && inst->name == otherInst->name) this->result = otherInst;
     945                        this->result = otherInst && inst->name == otherInst->name;
    946946                        return otherInst;
    947947                }
Note: See TracChangeset for help on using the changeset viewer.