Fixed 'str' in Value.

This commit is contained in:
yhirose 2015-05-29 00:20:54 -04:00
parent fe88c34649
commit 5b9d6d8a57

View File

@ -67,8 +67,8 @@ struct Value
case Bool: return to_bool() ? "true" : "false";
case Long: return std::to_string(to_long()); break;
case String: return to_string();
//case Function: return "[function]";
//case Array: return "[array]";
case Function: return "[function]";
case Array: return "[array]";
default: throw std::logic_error("invalid internal condition.");
}
// NOTREACHED