Changes in src/ResolvExpr/Unify.cpp [822332e:d3aa55e9]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/Unify.cpp
r822332e rd3aa55e9 276 276 void postvisit( const ast::VoidType * ) { 277 277 result = dynamic_cast< const ast::VoidType * >( type2 ); 278 // || tryToUnifyWithEnumValue(vt, type2, tenv, need, have, open, noWiden());279 ;280 278 } 281 279 … … 284 282 result = basic->kind == basic2->kind; 285 283 } 286 // result = result || tryToUnifyWithEnumValue(basic, type2, tenv, need, have, open, noWiden());287 284 } 288 285 … … 293 290 noWiden()); 294 291 } 295 // result = result || tryToUnifyWithEnumValue(pointer, type2, tenv, need, have, open, noWiden());296 292 } 297 293 … … 312 308 result = unifyExact( 313 309 array->base, array2->base, tenv, need, have, open, noWiden()); 314 // || tryToUnifyWithEnumValue(array, type2, tenv, need, have, open, noWiden());315 310 } 316 311 … … 607 602 608 603 result = unifyList( types, types2, tenv, need, have, open ); 609 // || tryToUnifyWithEnumValue(tuple, type2, tenv, need, have, open, noWiden());610 604 } 611 605 612 606 void postvisit( const ast::VarArgsType * ) { 613 607 result = dynamic_cast< const ast::VarArgsType * >( type2 ); 614 // || tryToUnifyWithEnumValue(vat, type2, tenv, need, have, open, noWiden());615 608 } 616 609 617 610 void postvisit( const ast::ZeroType * ) { 618 611 result = dynamic_cast< const ast::ZeroType * >( type2 ); 619 // || tryToUnifyWithEnumValue(zt, type2, tenv, need, have, open, noWiden());620 612 } 621 613 622 614 void postvisit( const ast::OneType * ) { 623 615 result = dynamic_cast< const ast::OneType * >( type2 ); 624 // || tryToUnifyWithEnumValue(ot, type2, tenv, need, have, open, noWiden());625 616 } 626 617 };
Note: See TracChangeset
for help on using the changeset viewer.