Changeset 8e9d567 for src/AST/Print.cpp


Ignore:
Timestamp:
Aug 19, 2020, 2:09:04 PM (16 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
03a4c73
Parents:
133a161 (diff), 13d33a7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Print.cpp

    r133a161 r8e9d567  
    237237        void postprint( const ast::Expr * node ) {
    238238                print( node->inferred );
     239
     240                if ( node->result ) {
     241                        os << endl << indent << "... with resolved type:" << endl;
     242                        ++indent;
     243                        os << indent;
     244                        node->result->accept( *this );
     245                        --indent;
     246                }
    239247
    240248                if ( node->env ) {
Note: See TracChangeset for help on using the changeset viewer.