From 808a26ae72e41788384585f9c36c8464b6c3eb7b Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sun, 22 Mar 2015 00:04:57 +0100 Subject: [PATCH] Fix: 'return' keyword doesn't work inside for loops fixes #8834 --- lib/config/vmops.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/config/vmops.hpp b/lib/config/vmops.hpp index a01448e1b..9d7307cdd 100644 --- a/lib/config/vmops.hpp +++ b/lib/config/vmops.hpp @@ -161,7 +161,7 @@ public: return Empty; } - static inline Value For(ScriptFrame& frame, const String& fkvar, const String& fvvar, const Value& value, Expression *expression, const DebugInfo& debugInfo = DebugInfo()) + static inline ExpressionResult For(ScriptFrame& frame, const String& fkvar, const String& fvvar, const Value& value, Expression *expression, const DebugInfo& debugInfo = DebugInfo()) { if (value.IsObjectType()) { if (!fvvar.IsEmpty()) -- 2.50.0