We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecef4d3 commit 6a625d6Copy full SHA for 6a625d6
src/datatypes/compiler-structures.js
@@ -10,6 +10,7 @@ module.exports = {
10
} else {
11
throw new Error('Array must contain either count or countType')
12
}
13
+ code += 'if (count > 0xffffff) throw new Error("array size is abnormally large, not reading: " + count)\n'
14
code += 'const data = []\n'
15
code += 'let size = countSize\n'
16
code += 'for (let i = 0; i < count; i++) {\n'
0 commit comments