Changeset ba89e9b7 for src/ResolvExpr


Ignore:
Timestamp:
Apr 10, 2018, 3:16:55 PM (6 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, with_gc
Children:
da7fe39
Parents:
207b496
Message:

Temporarily enable more debug information

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/CommonType.cc

    r207b496 rba89e9b7  
    2727#include "typeops.h"                     // for isFtype
    2828
    29 #define DEBUG
     29// #define DEBUG
    3030#ifdef DEBUG
    3131#define PRINT(x) x
     
    101101                        int diff = depth1-depth2;
    102102                        // TODO: should it be possible for commonType to generate complicated conversions? I would argue no, only conversions that involve types of the same reference level or a difference of 1 should be allowed.
    103                         if ( diff > 1 || diff < -1 ) return nullptr;
     103                        // if ( diff > 1 || diff < -1 ) return nullptr;
    104104
    105105                        // special case where one type has a reference depth of 1 larger than the other
Note: See TracChangeset for help on using the changeset viewer.