From 6541c68f95d1a7791d4ae132ab619d70ca1ef061 Mon Sep 17 00:00:00 2001 From: Maxime Le Moine Date: Fri, 30 Mar 2018 15:08:46 +0200 Subject: [PATCH] Fix building with Xcode 9.3 --- src/handlebars-objc/helpers/HBBuiltinHelpersRegistry.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handlebars-objc/helpers/HBBuiltinHelpersRegistry.m b/src/handlebars-objc/helpers/HBBuiltinHelpersRegistry.m index 10ad6fa..dd176e3 100644 --- a/src/handlebars-objc/helpers/HBBuiltinHelpersRegistry.m +++ b/src/handlebars-objc/helpers/HBBuiltinHelpersRegistry.m @@ -165,7 +165,7 @@ + (void) registerEachHelper NSMutableString* result = [NSMutableString string]; for (id key in dictionaryLike) { dictionaryData[@"key"] = key; - id statementEvaluation = callingInfo.statements(dictionaryLike[key], dictionaryData); + id statementEvaluation = callingInfo.statements(expression[key], dictionaryData); if (statementEvaluation) [result appendString:statementEvaluation]; } [dictionaryData release];