Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/TypeDecl.cc

    r68fe077a rbdd0755  
    2525
    2626std::string TypeDecl::typeString() const {
    27         static const char *kindNames[] = { "type", "incomplete type", "function type", "tuple type" };
     27        static const std::string kindNames[] = { "type", "incomplete type", "function type", "tuple type" };
     28        return (kind != Any && isComplete() ? "sized " : "") + kindNames[ kind ];
     29}
     30
     31std::string TypeDecl::genTypeString() const {
     32        static const std::string kindNames[] = { "otype", "dtype", "ftype", "ttype" };
    2833        return kindNames[ kind ];
    2934}
Note: See TracChangeset for help on using the changeset viewer.