From 5b9d6d8a570fda488da68c4c88083826c79f3bca Mon Sep 17 00:00:00 2001 From: yhirose Date: Fri, 29 May 2015 00:20:54 -0400 Subject: [PATCH] Fixed 'str' in Value. --- language/interpreter.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/language/interpreter.hpp b/language/interpreter.hpp index cbce785..e96fe64 100644 --- a/language/interpreter.hpp +++ b/language/interpreter.hpp @@ -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