From 1a95ea9a767ea60d58cbed7e3b957ae84fafb8f9 Mon Sep 17 00:00:00 2001 From: Tommaso Allevi Date: Wed, 27 Mar 2024 17:12:02 +0100 Subject: [PATCH] Fix avsc file --- benchmarks/e2e/public/avsc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmarks/e2e/public/avsc.js b/benchmarks/e2e/public/avsc.js index c0e1b1e..ce3a3cb 100644 --- a/benchmarks/e2e/public/avsc.js +++ b/benchmarks/e2e/public/avsc.js @@ -6907,8 +6907,8 @@ // Special case, empty record. We handle this directly. body += ' return true;\n' } else { - for (i = 0, l = this.fields.length; i < l; i++) { - field = this.fields[i] + for (let i = 0, l = this.fields.length; i < l; i++) { + let field = this.fields[i] names.push('t' + i) values.push(field.type) if (field.defaultValue() !== undefined) {