Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/CastCost.cc

    r3e5dd913 r361bf01  
    202202) {
    203203        if ( auto typeInst = dynamic_cast< const ast::TypeInstType * >( dst ) ) {
    204                 if ( const ast::EqvClass * eqvClass = env.lookup( *typeInst ) ) {
     204                if ( const ast::EqvClass * eqvClass = env.lookup( typeInst->name ) ) {
    205205                        // check cast cost against bound type, if present
    206206                        if ( eqvClass->bound ) {
Note: See TracChangeset for help on using the changeset viewer.