Changes in src/SynTree/TypeDecl.cc [bdd0755:68fe077a]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/TypeDecl.cc
rbdd0755 r68fe077a 25 25 26 26 std::string TypeDecl::typeString() const { 27 static const std::string kindNames[] = { "type", "incomplete type", "function type", "tuple type" }; 28 return (kind != Any && isComplete() ? "sized " : "") + kindNames[ kind ]; 29 } 30 31 std::string TypeDecl::genTypeString() const { 32 static const std::string kindNames[] = { "otype", "dtype", "ftype", "ttype" }; 27 static const char *kindNames[] = { "type", "incomplete type", "function type", "tuple type" }; 33 28 return kindNames[ kind ]; 34 29 }
Note: See TracChangeset
for help on using the changeset viewer.