Skip to content

Instantly share code, notes, and snippets.

@fanoush
Created Nov 8, 2021
Embed
What would you like to do?
Opened server on {"address":"::","family":"IPv6","port":32766}
POST [Object: null prototype] {
board: 'MAGIC3',
version: '2v10.83',
git: 'c23289e6',
js: 'function processNextFrame () { "compiled";\n' +
' let i=0,j=0,k=0,l=0;\n' +
' for (i = 15; i > 0; i--) { // intensity diffusion for upper rows\n' +
' k = i*16;\n' +
' TemperatureMap[k] = Math.round((\n' +
' 6*TemperatureMap[k] + 2*TemperatureMap[k-16] + TemperatureMap[k-15]\n' +
' )/9);\n' +
' for (j = 1; j < 15; j++) {\n' +
' k++;\n' +
' TemperatureMap[k] = Math.round((\n' +
' 6*TemperatureMap[k] +\n' +
' TemperatureMap[k-17] + 2*TemperatureMap[k-16] + TemperatureMap[k-15]\n' +
' )/10);\n' +
' }\n' +
' k++;\n' +
' TemperatureMap[k] = Math.round((\n' +
' 6*TemperatureMap[k] + TemperatureMap[k-17] + 2*TemperatureMap[k-16]\n' +
' )/9);\n' +
' }\n' +
' /**** heat around HeatX, cool elsewhere ****/\n' +
' HeatCount -= 1;\n' +
' if (HeatCount < 0) {\n' +
' HeatX = Math.round(16*Math.random());\n' +
' HeatCount = Math.round(12*Math.random());\n' +
' }\n' +
' l = HeatX-4;\n' +
' for (i = 0 /*, l = HeatX-4*/; i < l; i++) {\n' +
' TemperatureMap[i] = TemperatureMap[i] - 8; // exploits clamping\n' +
' }\n' +
' i = HeatX-4;\n' +
' i++; if (i >= 0) { TemperatureMap[i] = TemperatureMap[i] + 2; } // dto.\n' +
' i++; if (i >= 0) { TemperatureMap[i] = TemperatureMap[i] + 5; } // dto.\n' +
' i++; if (i >= 0) { TemperatureMap[i] = TemperatureMap[i] + 7; } // dto.\n' +
' i++; TemperatureMap[i] = TemperatureMap[i] + 8; // dto.\n' +
' i++; if (i < 16) { TemperatureMap[i] = TemperatureMap[i] + 7; } // dto.\n' +
' i++; if (i < 16) { TemperatureMap[i] = TemperatureMap[i] + 5; } // dto.\n' +
' i++; if (i < 16) { TemperatureMap[i] = TemperatureMap[i] + 2; } // dto.\n' +
' i++;\n' +
' for (; i < 16; i++) {\n' +
' TemperatureMap[i] = TemperatureMap[i] - 8; // exploits clamping\n' +
' }\n' +
' /**** prepare display ****/\n' +
' let RGB=new Uint8ClampedArray(3) /*, normalizedRGB = new Uint8ClampedArray(3)*/;\n' +
' let RowStart=0, RowEnd=0;\n' +
' for (i = 0; i < 16; i++) { // row-wise\n' +
' RowStart = i*16; RowEnd = RowStart + 15;\n' +
' for (j = 0, k = RowStart; j < 16; j++, k++) { // column-wise\n' +
' RGB = ColorMap[j];\n' +
' Temperature = TemperatureMap[k];\n' +
' if (Temperature < 16) {\n' +
' Temperature = 0;\n' +
' } else {\n' +
' Temperature = Math.max(48,Temperature)/256;\n' +
' }\n' +
' normalizedRGB[0] = normalized[Math.round(RGB[1]*Temperature)];\n' +
' normalizedRGB[1] = normalized[Math.round(RGB[0]*Temperature)];\n' +
' normalizedRGB[2] = normalized[Math.round(RGB[2]*Temperature)];\n' +
' Display.set(normalizedRGB, PixelOffset[k]);\n' +
' }\n' +
' }\n' +
' /**** show display ****/\n' +
' //Neopixel.write(D22,Display);\n' +
' /**** wait for next frame and proceed ****/\n' +
'let now = Date.now();\n' +
'if (Timestamp > 0) { print(now-Timestamp); }\n' +
'Timestamp = now;\n' +
' setTimeout(processNextFrame,0);\n' +
' }',
exptr: '391356'
}
Node {
start: 0,
body: [
Node {
start: 0,
id: [Node],
generator: false,
expression: false,
params: [],
body: [Node],
type: 'FunctionDeclaration',
end: 2804
}
],
sourceType: 'script',
type: 'Program',
end: 2804
}
Modified [
[
"undefined -> JsVar",
{
"start": 31,
"value": "compiled",
"raw": "\"compiled\"",
"type": "Literal",
"end": 41,
"isNotAName": true,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:70:12)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ExpressionStatement.base.ParenthesizedExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:197:10)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.Program.base.BlockStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:191:5)"
],
[
"undefined -> int",
{
"start": 53,
"value": 0,
"raw": "0",
"type": "Literal",
"end": 54,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.VariableDeclaration (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:259:20)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.Program.base.BlockStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:191:5)"
],
[
"undefined -> int",
{
"start": 57,
"value": 0,
"raw": "0",
"type": "Literal",
"end": 58,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.VariableDeclaration (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:259:20)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.Program.base.BlockStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:191:5)"
],
[
"undefined -> int",
{
"start": 61,
"value": 0,
"raw": "0",
"type": "Literal",
"end": 62,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.VariableDeclaration (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:259:20)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.Program.base.BlockStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:191:5)"
],
[
"undefined -> int",
{
"start": 65,
"value": 0,
"raw": "0",
"type": "Literal",
"end": 66,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.VariableDeclaration (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:259:20)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.Program.base.BlockStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:191:5)"
],
[
"undefined -> JsVar",
{
"start": 51,
"name": "i",
"type": "Identifier",
"end": 52,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at /home/fanoush/EspruinoCompiler/src/infer.js:132:11\n at Array.forEach (<anonymous>)\n at VariableDeclaration (/home/fanoush/EspruinoCompiler/src/infer.js:130:25)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.Program.base.BlockStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:191:5)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)"
],
[
"undefined -> JsVar",
{
"start": 55,
"name": "j",
"type": "Identifier",
"end": 56,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at /home/fanoush/EspruinoCompiler/src/infer.js:132:11\n at Array.forEach (<anonymous>)\n at VariableDeclaration (/home/fanoush/EspruinoCompiler/src/infer.js:130:25)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.Program.base.BlockStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:191:5)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)"
],
[
"undefined -> JsVar",
{
"start": 59,
"name": "k",
"type": "Identifier",
"end": 60,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at /home/fanoush/EspruinoCompiler/src/infer.js:132:11\n at Array.forEach (<anonymous>)\n at VariableDeclaration (/home/fanoush/EspruinoCompiler/src/infer.js:130:25)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.Program.base.BlockStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:191:5)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)"
],
[
"undefined -> JsVar",
{
"start": 63,
"name": "l",
"type": "Identifier",
"end": 64,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at /home/fanoush/EspruinoCompiler/src/infer.js:132:11\n at Array.forEach (<anonymous>)\n at VariableDeclaration (/home/fanoush/EspruinoCompiler/src/infer.js:130:25)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.Program.base.BlockStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:191:5)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)"
],
[
"undefined -> JsVar",
{
"start": 77,
"name": "i",
"type": "Identifier",
"end": 78,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ForInit (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:249:60)"
],
[
"undefined -> int",
{
"start": 81,
"value": 15,
"raw": "15",
"type": "Literal",
"end": 83,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ForInit (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:249:60)"
],
[
"undefined -> JsVar",
{
"start": 85,
"name": "i",
"type": "Identifier",
"end": 86,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ForStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:239:18)"
],
[
"undefined -> int",
{
"start": 89,
"value": 0,
"raw": "0",
"type": "Literal",
"end": 90,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ForStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:239:18)"
],
[
"undefined -> bool",
{
"start": 85,
"left": {
"start": 85,
"name": "i",
"type": "Identifier",
"end": 86,
"varType": "JsVar"
},
"operator": ">",
"right": {
"start": 89,
"value": 0,
"raw": "0",
"type": "Literal",
"end": 90,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 90,
"isNotAName": true,
"varType": "bool"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at BinaryExpression (/home/fanoush/EspruinoCompiler/src/infer.js:89:48)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ForStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:239:18)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.Program.base.BlockStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:191:5)"
],
[
"undefined -> JsVar",
{
"start": 92,
"name": "i",
"type": "Identifier",
"end": 93,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.UnaryExpression.base.UpdateExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:290:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ForStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:240:20)"
],
[
"undefined -> JsVar",
{
"start": 155,
"name": "k",
"type": "Identifier",
"end": 156,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ExpressionStatement.base.ParenthesizedExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:197:10)"
],
[
"undefined -> JsVar",
{
"start": 159,
"name": "i",
"type": "Identifier",
"end": 160,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> int",
{
"start": 161,
"value": 16,
"raw": "16",
"type": "Literal",
"end": 163,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 159,
"left": {
"start": 159,
"name": "i",
"type": "Identifier",
"end": 160,
"varType": "JsVar"
},
"operator": "*",
"right": {
"start": 161,
"value": 16,
"raw": "16",
"type": "Literal",
"end": 163,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 163,
"isNotAName": true,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at BinaryExpression (/home/fanoush/EspruinoCompiler/src/infer.js:93:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ExpressionStatement.base.ParenthesizedExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:197:10)"
],
[
"undefined -> JsVar",
{
"start": 171,
"name": "TemperatureMap",
"type": "Identifier",
"end": 185,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 186,
"name": "k",
"type": "Identifier",
"end": 187,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 191,
"name": "Math",
"type": "Identifier",
"end": 195,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.NewExpression.base.CallExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:302:3)"
],
[
"undefined -> int",
{
"start": 212,
"value": 6,
"raw": "6",
"type": "Literal",
"end": 213,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 214,
"name": "TemperatureMap",
"type": "Identifier",
"end": 228,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 229,
"name": "k",
"type": "Identifier",
"end": 230,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> int",
{
"start": 234,
"value": 2,
"raw": "2",
"type": "Literal",
"end": 235,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 236,
"name": "TemperatureMap",
"type": "Identifier",
"end": 250,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 251,
"name": "k",
"type": "Identifier",
"end": 252,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)"
],
[
"undefined -> int",
{
"start": 253,
"value": 16,
"raw": "16",
"type": "Literal",
"end": 255,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)"
],
[
"undefined -> JsVar",
{
"start": 251,
"left": {
"start": 251,
"name": "k",
"type": "Identifier",
"end": 252,
"varType": "JsVar"
},
"operator": "-",
"right": {
"start": 253,
"value": 16,
"raw": "16",
"type": "Literal",
"end": 255,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 255,
"isNotAName": true,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at BinaryExpression (/home/fanoush/EspruinoCompiler/src/infer.js:93:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 259,
"name": "TemperatureMap",
"type": "Identifier",
"end": 273,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 274,
"name": "k",
"type": "Identifier",
"end": 275,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)"
],
[
"undefined -> int",
{
"start": 276,
"value": 15,
"raw": "15",
"type": "Literal",
"end": 278,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)"
],
[
"undefined -> JsVar",
{
"start": 274,
"left": {
"start": 274,
"name": "k",
"type": "Identifier",
"end": 275,
"varType": "JsVar"
},
"operator": "-",
"right": {
"start": 276,
"value": 15,
"raw": "15",
"type": "Literal",
"end": 278,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 278,
"isNotAName": true,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at BinaryExpression (/home/fanoush/EspruinoCompiler/src/infer.js:93:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> int",
{
"start": 288,
"value": 9,
"raw": "9",
"type": "Literal",
"end": 289,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.NewExpression.base.CallExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:304:5)"
],
[
"undefined -> JsVar",
{
"start": 202,
"left": {
"start": 212,
"left": {
"start": 212,
"left": {
"start": 212,
"left": {
"start": 212,
"value": 6,
"raw": "6",
"type": "Literal",
"end": 213,
"isNotAName": true,
"varType": "int"
},
"operator": "*",
"right": {
"start": 214,
"object": {
"start": 214,
"name": "TemperatureMap",
"type": "Identifier",
"end": 228,
"varType": "JsVar"
},
"property": {
"start": 229,
"name": "k",
"type": "Identifier",
"end": 230,
"varType": "JsVar"
},
"computed": true,
"type": "MemberExpression",
"end": 231
},
"type": "BinaryExpression",
"end": 231,
"isNotAName": true
},
"operator": "+",
"right": {
"start": 234,
"left": {
"start": 234,
"value": 2,
"raw": "2",
"type": "Literal",
"end": 235,
"isNotAName": true,
"varType": "int"
},
"operator": "*",
"right": {
"start": 236,
"object": {
"start": 236,
"name": "TemperatureMap",
"type": "Identifier",
"end": 250,
"varType": "JsVar"
},
"property": {
"start": 251,
"left": {
"start": 251,
"name": "k",
"type": "Identifier",
"end": 252,
"varType": "JsVar"
},
"operator": "-",
"right": {
"start": 253,
"value": 16,
"raw": "16",
"type": "Literal",
"end": 255,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 255,
"isNotAName": true,
"varType": "JsVar"
},
"computed": true,
"type": "MemberExpression",
"end": 256
},
"type": "BinaryExpression",
"end": 256,
"isNotAName": true
},
"type": "BinaryExpression",
"end": 256,
"isNotAName": true
},
"operator": "+",
"right": {
"start": 259,
"object": {
"start": 259,
"name": "TemperatureMap",
"type": "Identifier",
"end": 273,
"varType": "JsVar"
},
"property": {
"start": 274,
"left": {
"start": 274,
"name": "k",
"type": "Identifier",
"end": 275,
"varType": "JsVar"
},
"operator": "-",
"right": {
"start": 276,
"value": 15,
"raw": "15",
"type": "Literal",
"end": 278,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 278,
"isNotAName": true,
"varType": "JsVar"
},
"computed": true,
"type": "MemberExpression",
"end": 279
},
"type": "BinaryExpression",
"end": 279,
"isNotAName": true
},
"operator": "/",
"right": {
"start": 288,
"value": 9,
"raw": "9",
"type": "Literal",
"end": 289,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 289,
"isNotAName": true,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at BinaryExpression (/home/fanoush/EspruinoCompiler/src/infer.js:91:54)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.NewExpression.base.CallExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:304:5)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 303,
"name": "j",
"type": "Identifier",
"end": 304,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ForInit (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:249:60)"
],
[
"undefined -> int",
{
"start": 307,
"value": 1,
"raw": "1",
"type": "Literal",
"end": 308,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ForInit (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:249:60)"
],
[
"undefined -> JsVar",
{
"start": 310,
"name": "j",
"type": "Identifier",
"end": 311,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ForStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:239:18)"
],
[
"undefined -> int",
{
"start": 314,
"value": 15,
"raw": "15",
"type": "Literal",
"end": 316,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ForStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:239:18)"
],
[
"undefined -> bool",
{
"start": 310,
"left": {
"start": 310,
"name": "j",
"type": "Identifier",
"end": 311,
"varType": "JsVar"
},
"operator": "<",
"right": {
"start": 314,
"value": 15,
"raw": "15",
"type": "Literal",
"end": 316,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 316,
"isNotAName": true,
"varType": "bool"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at BinaryExpression (/home/fanoush/EspruinoCompiler/src/infer.js:89:48)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ForStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:239:18)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.Program.base.BlockStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:191:5)"
],
[
"undefined -> JsVar",
{
"start": 318,
"name": "j",
"type": "Identifier",
"end": 319,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.UnaryExpression.base.UpdateExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:290:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ForStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:240:20)"
],
[
"undefined -> JsVar",
{
"start": 333,
"name": "k",
"type": "Identifier",
"end": 334,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.UnaryExpression.base.UpdateExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:290:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ExpressionStatement.base.ParenthesizedExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:197:10)"
],
[
"undefined -> JsVar",
{
"start": 346,
"name": "TemperatureMap",
"type": "Identifier",
"end": 360,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 361,
"name": "k",
"type": "Identifier",
"end": 362,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 366,
"name": "Math",
"type": "Identifier",
"end": 370,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.NewExpression.base.CallExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:302:3)"
],
[
"undefined -> int",
{
"start": 389,
"value": 6,
"raw": "6",
"type": "Literal",
"end": 390,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 391,
"name": "TemperatureMap",
"type": "Identifier",
"end": 405,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 406,
"name": "k",
"type": "Identifier",
"end": 407,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 421,
"name": "TemperatureMap",
"type": "Identifier",
"end": 435,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 436,
"name": "k",
"type": "Identifier",
"end": 437,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)"
],
[
"undefined -> int",
{
"start": 438,
"value": 17,
"raw": "17",
"type": "Literal",
"end": 440,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)"
],
[
"undefined -> JsVar",
{
"start": 436,
"left": {
"start": 436,
"name": "k",
"type": "Identifier",
"end": 437,
"varType": "JsVar"
},
"operator": "-",
"right": {
"start": 438,
"value": 17,
"raw": "17",
"type": "Literal",
"end": 440,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 440,
"isNotAName": true,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at BinaryExpression (/home/fanoush/EspruinoCompiler/src/infer.js:93:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> int",
{
"start": 444,
"value": 2,
"raw": "2",
"type": "Literal",
"end": 445,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 446,
"name": "TemperatureMap",
"type": "Identifier",
"end": 460,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 461,
"name": "k",
"type": "Identifier",
"end": 462,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)"
],
[
"undefined -> int",
{
"start": 463,
"value": 16,
"raw": "16",
"type": "Literal",
"end": 465,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)"
],
[
"undefined -> JsVar",
{
"start": 461,
"left": {
"start": 461,
"name": "k",
"type": "Identifier",
"end": 462,
"varType": "JsVar"
},
"operator": "-",
"right": {
"start": 463,
"value": 16,
"raw": "16",
"type": "Literal",
"end": 465,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 465,
"isNotAName": true,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at BinaryExpression (/home/fanoush/EspruinoCompiler/src/infer.js:93:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 469,
"name": "TemperatureMap",
"type": "Identifier",
"end": 483,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 484,
"name": "k",
"type": "Identifier",
"end": 485,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)"
],
[
"undefined -> int",
{
"start": 486,
"value": 15,
"raw": "15",
"type": "Literal",
"end": 488,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)"
],
[
"undefined -> JsVar",
{
"start": 484,
"left": {
"start": 484,
"name": "k",
"type": "Identifier",
"end": 485,
"varType": "JsVar"
},
"operator": "-",
"right": {
"start": 486,
"value": 15,
"raw": "15",
"type": "Literal",
"end": 488,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 488,
"isNotAName": true,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at BinaryExpression (/home/fanoush/EspruinoCompiler/src/infer.js:93:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> int",
{
"start": 500,
"value": 10,
"raw": "10",
"type": "Literal",
"end": 502,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.NewExpression.base.CallExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:304:5)"
],
[
"undefined -> JsVar",
{
"start": 377,
"left": {
"start": 389,
"left": {
"start": 389,
"left": {
"start": 389,
"left": {
"start": 389,
"left": {
"start": 389,
"value": 6,
"raw": "6",
"type": "Literal",
"end": 390,
"isNotAName": true,
"varType": "int"
},
"operator": "*",
"right": {
"start": 391,
"object": {
"start": 391,
"name": "TemperatureMap",
"type": "Identifier",
"end": 405,
"varType": "JsVar"
},
"property": {
"start": 406,
"name": "k",
"type": "Identifier",
"end": 407,
"varType": "JsVar"
},
"computed": true,
"type": "MemberExpression",
"end": 408
},
"type": "BinaryExpression",
"end": 408,
"isNotAName": true
},
"operator": "+",
"right": {
"start": 421,
"object": {
"start": 421,
"name": "TemperatureMap",
"type": "Identifier",
"end": 435,
"varType": "JsVar"
},
"property": {
"start": 436,
"left": {
"start": 436,
"name": "k",
"type": "Identifier",
"end": 437,
"varType": "JsVar"
},
"operator": "-",
"right": {
"start": 438,
"value": 17,
"raw": "17",
"type": "Literal",
"end": 440,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 440,
"isNotAName": true,
"varType": "JsVar"
},
"computed": true,
"type": "MemberExpression",
"end": 441
},
"type": "BinaryExpression",
"end": 441,
"isNotAName": true
},
"operator": "+",
"right": {
"start": 444,
"left": {
"start": 444,
"value": 2,
"raw": "2",
"type": "Literal",
"end": 445,
"isNotAName": true,
"varType": "int"
},
"operator": "*",
"right": {
"start": 446,
"object": {
"start": 446,
"name": "TemperatureMap",
"type": "Identifier",
"end": 460,
"varType": "JsVar"
},
"property": {
"start": 461,
"left": {
"start": 461,
"name": "k",
"type": "Identifier",
"end": 462,
"varType": "JsVar"
},
"operator": "-",
"right": {
"start": 463,
"value": 16,
"raw": "16",
"type": "Literal",
"end": 465,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 465,
"isNotAName": true,
"varType": "JsVar"
},
"computed": true,
"type": "MemberExpression",
"end": 466
},
"type": "BinaryExpression",
"end": 466,
"isNotAName": true
},
"type": "BinaryExpression",
"end": 466,
"isNotAName": true
},
"operator": "+",
"right": {
"start": 469,
"object": {
"start": 469,
"name": "TemperatureMap",
"type": "Identifier",
"end": 483,
"varType": "JsVar"
},
"property": {
"start": 484,
"left": {
"start": 484,
"name": "k",
"type": "Identifier",
"end": 485,
"varType": "JsVar"
},
"operator": "-",
"right": {
"start": 486,
"value": 15,
"raw": "15",
"type": "Literal",
"end": 488,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 488,
"isNotAName": true,
"varType": "JsVar"
},
"computed": true,
"type": "MemberExpression",
"end": 489
},
"type": "BinaryExpression",
"end": 489,
"isNotAName": true
},
"operator": "/",
"right": {
"start": 500,
"value": 10,
"raw": "10",
"type": "Literal",
"end": 502,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 502,
"isNotAName": true,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at BinaryExpression (/home/fanoush/EspruinoCompiler/src/infer.js:91:54)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.NewExpression.base.CallExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:304:5)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 519,
"name": "k",
"type": "Identifier",
"end": 520,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.UnaryExpression.base.UpdateExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:290:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ExpressionStatement.base.ParenthesizedExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:197:10)"
],
[
"undefined -> JsVar",
{
"start": 530,
"name": "TemperatureMap",
"type": "Identifier",
"end": 544,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 545,
"name": "k",
"type": "Identifier",
"end": 546,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 550,
"name": "Math",
"type": "Identifier",
"end": 554,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.NewExpression.base.CallExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:302:3)"
],
[
"undefined -> int",
{
"start": 571,
"value": 6,
"raw": "6",
"type": "Literal",
"end": 572,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 573,
"name": "TemperatureMap",
"type": "Identifier",
"end": 587,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 588,
"name": "k",
"type": "Identifier",
"end": 589,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 593,
"name": "TemperatureMap",
"type": "Identifier",
"end": 607,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 608,
"name": "k",
"type": "Identifier",
"end": 609,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)"
],
[
"undefined -> int",
{
"start": 610,
"value": 17,
"raw": "17",
"type": "Literal",
"end": 612,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)"
],
[
"undefined -> JsVar",
{
"start": 608,
"left": {
"start": 608,
"name": "k",
"type": "Identifier",
"end": 609,
"varType": "JsVar"
},
"operator": "-",
"right": {
"start": 610,
"value": 17,
"raw": "17",
"type": "Literal",
"end": 612,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 612,
"isNotAName": true,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at BinaryExpression (/home/fanoush/EspruinoCompiler/src/infer.js:93:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> int",
{
"start": 616,
"value": 2,
"raw": "2",
"type": "Literal",
"end": 617,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 618,
"name": "TemperatureMap",
"type": "Identifier",
"end": 632,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 633,
"name": "k",
"type": "Identifier",
"end": 634,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)"
],
[
"undefined -> int",
{
"start": 635,
"value": 16,
"raw": "16",
"type": "Literal",
"end": 637,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)"
],
[
"undefined -> JsVar",
{
"start": 633,
"left": {
"start": 633,
"name": "k",
"type": "Identifier",
"end": 634,
"varType": "JsVar"
},
"operator": "-",
"right": {
"start": 635,
"value": 16,
"raw": "16",
"type": "Literal",
"end": 637,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 637,
"isNotAName": true,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at BinaryExpression (/home/fanoush/EspruinoCompiler/src/infer.js:93:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> int",
{
"start": 647,
"value": 9,
"raw": "9",
"type": "Literal",
"end": 648,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.NewExpression.base.CallExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:304:5)"
],
[
"undefined -> JsVar",
{
"start": 561,
"left": {
"start": 571,
"left": {
"start": 571,
"left": {
"start": 571,
"left": {
"start": 571,
"value": 6,
"raw": "6",
"type": "Literal",
"end": 572,
"isNotAName": true,
"varType": "int"
},
"operator": "*",
"right": {
"start": 573,
"object": {
"start": 573,
"name": "TemperatureMap",
"type": "Identifier",
"end": 587,
"varType": "JsVar"
},
"property": {
"start": 588,
"name": "k",
"type": "Identifier",
"end": 589,
"varType": "JsVar"
},
"computed": true,
"type": "MemberExpression",
"end": 590
},
"type": "BinaryExpression",
"end": 590,
"isNotAName": true
},
"operator": "+",
"right": {
"start": 593,
"object": {
"start": 593,
"name": "TemperatureMap",
"type": "Identifier",
"end": 607,
"varType": "JsVar"
},
"property": {
"start": 608,
"left": {
"start": 608,
"name": "k",
"type": "Identifier",
"end": 609,
"varType": "JsVar"
},
"operator": "-",
"right": {
"start": 610,
"value": 17,
"raw": "17",
"type": "Literal",
"end": 612,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 612,
"isNotAName": true,
"varType": "JsVar"
},
"computed": true,
"type": "MemberExpression",
"end": 613
},
"type": "BinaryExpression",
"end": 613,
"isNotAName": true
},
"operator": "+",
"right": {
"start": 616,
"left": {
"start": 616,
"value": 2,
"raw": "2",
"type": "Literal",
"end": 617,
"isNotAName": true,
"varType": "int"
},
"operator": "*",
"right": {
"start": 618,
"object": {
"start": 618,
"name": "TemperatureMap",
"type": "Identifier",
"end": 632,
"varType": "JsVar"
},
"property": {
"start": 633,
"left": {
"start": 633,
"name": "k",
"type": "Identifier",
"end": 634,
"varType": "JsVar"
},
"operator": "-",
"right": {
"start": 635,
"value": 16,
"raw": "16",
"type": "Literal",
"end": 637,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 637,
"isNotAName": true,
"varType": "JsVar"
},
"computed": true,
"type": "MemberExpression",
"end": 638
},
"type": "BinaryExpression",
"end": 638,
"isNotAName": true
},
"type": "BinaryExpression",
"end": 638,
"isNotAName": true
},
"operator": "/",
"right": {
"start": 647,
"value": 9,
"raw": "9",
"type": "Literal",
"end": 648,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 648,
"isNotAName": true,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at BinaryExpression (/home/fanoush/EspruinoCompiler/src/infer.js:91:54)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.NewExpression.base.CallExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:304:5)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 709,
"name": "HeatCount",
"type": "Identifier",
"end": 718,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ExpressionStatement.base.ParenthesizedExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:197:10)"
],
[
"undefined -> int",
{
"start": 722,
"value": 1,
"raw": "1",
"type": "Literal",
"end": 723,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ExpressionStatement.base.ParenthesizedExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:197:10)"
],
[
"undefined -> JsVar",
{
"start": 733,
"name": "HeatCount",
"type": "Identifier",
"end": 742,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.IfStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:200:3)"
],
[
"undefined -> int",
{
"start": 745,
"value": 0,
"raw": "0",
"type": "Literal",
"end": 746,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.IfStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:200:3)"
],
[
"undefined -> bool",
{
"start": 733,
"left": {
"start": 733,
"name": "HeatCount",
"type": "Identifier",
"end": 742,
"varType": "JsVar"
},
"operator": "<",
"right": {
"start": 745,
"value": 0,
"raw": "0",
"type": "Literal",
"end": 746,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 746,
"isNotAName": true,
"varType": "bool"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at BinaryExpression (/home/fanoush/EspruinoCompiler/src/infer.js:89:48)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.IfStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:200:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.Program.base.BlockStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:191:5)"
],
[
"undefined -> JsVar",
{
"start": 756,
"name": "HeatX",
"type": "Identifier",
"end": 761,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ExpressionStatement.base.ParenthesizedExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:197:10)"
],
[
"undefined -> JsVar",
{
"start": 768,
"name": "Math",
"type": "Identifier",
"end": 772,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.NewExpression.base.CallExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:302:3)"
],
[
"undefined -> int",
{
"start": 779,
"value": 16,
"raw": "16",
"type": "Literal",
"end": 781,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.NewExpression.base.CallExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:304:5)"
],
[
"undefined -> JsVar",
{
"start": 782,
"name": "Math",
"type": "Identifier",
"end": 786,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.NewExpression.base.CallExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:302:3)"
],
[
"undefined -> JsVar",
{
"start": 804,
"name": "HeatCount",
"type": "Identifier",
"end": 813,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ExpressionStatement.base.ParenthesizedExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:197:10)"
],
[
"undefined -> JsVar",
{
"start": 816,
"name": "Math",
"type": "Identifier",
"end": 820,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.NewExpression.base.CallExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:302:3)"
],
[
"undefined -> int",
{
"start": 827,
"value": 12,
"raw": "12",
"type": "Literal",
"end": 829,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.NewExpression.base.CallExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:304:5)"
],
[
"undefined -> JsVar",
{
"start": 830,
"name": "Math",
"type": "Identifier",
"end": 834,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.NewExpression.base.CallExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:302:3)"
],
[
"undefined -> JsVar",
{
"start": 856,
"name": "l",
"type": "Identifier",
"end": 857,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ExpressionStatement.base.ParenthesizedExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:197:10)"
],
[
"undefined -> JsVar",
{
"start": 860,
"name": "HeatX",
"type": "Identifier",
"end": 865,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> int",
{
"start": 866,
"value": 4,
"raw": "4",
"type": "Literal",
"end": 867,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 860,
"left": {
"start": 860,
"name": "HeatX",
"type": "Identifier",
"end": 865,
"varType": "JsVar"
},
"operator": "-",
"right": {
"start": 866,
"value": 4,
"raw": "4",
"type": "Literal",
"end": 867,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 867,
"isNotAName": true,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at BinaryExpression (/home/fanoush/EspruinoCompiler/src/infer.js:93:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ExpressionStatement.base.ParenthesizedExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:197:10)"
],
[
"undefined -> JsVar",
{
"start": 878,
"name": "i",
"type": "Identifier",
"end": 879,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ForInit (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:249:60)"
],
[
"undefined -> int",
{
"start": 882,
"value": 0,
"raw": "0",
"type": "Literal",
"end": 883,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ForInit (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:249:60)"
],
[
"undefined -> JsVar",
{
"start": 903,
"name": "i",
"type": "Identifier",
"end": 904,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ForStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:239:18)"
],
[
"undefined -> JsVar",
{
"start": 907,
"name": "l",
"type": "Identifier",
"end": 908,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ForStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:239:18)"
],
[
"undefined -> bool",
{
"start": 903,
"left": {
"start": 903,
"name": "i",
"type": "Identifier",
"end": 904,
"varType": "JsVar"
},
"operator": "<",
"right": {
"start": 907,
"name": "l",
"type": "Identifier",
"end": 908,
"varType": "JsVar"
},
"type": "BinaryExpression",
"end": 908,
"isNotAName": true,
"varType": "bool"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at BinaryExpression (/home/fanoush/EspruinoCompiler/src/infer.js:89:48)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ForStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:239:18)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.Program.base.BlockStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:191:5)"
],
[
"undefined -> JsVar",
{
"start": 910,
"name": "i",
"type": "Identifier",
"end": 911,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.UnaryExpression.base.UpdateExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:290:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ForStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:240:20)"
],
[
"undefined -> JsVar",
{
"start": 923,
"name": "TemperatureMap",
"type": "Identifier",
"end": 937,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 938,
"name": "i",
"type": "Identifier",
"end": 939,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 943,
"name": "TemperatureMap",
"type": "Identifier",
"end": 957,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 958,
"name": "i",
"type": "Identifier",
"end": 959,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> int",
{
"start": 963,
"value": 8,
"raw": "8",
"type": "Literal",
"end": 964,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 1010,
"name": "i",
"type": "Identifier",
"end": 1011,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ExpressionStatement.base.ParenthesizedExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:197:10)"
],
[
"undefined -> JsVar",
{
"start": 1014,
"name": "HeatX",
"type": "Identifier",
"end": 1019,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> int",
{
"start": 1020,
"value": 4,
"raw": "4",
"type": "Literal",
"end": 1021,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 1014,
"left": {
"start": 1014,
"name": "HeatX",
"type": "Identifier",
"end": 1019,
"varType": "JsVar"
},
"operator": "-",
"right": {
"start": 1020,
"value": 4,
"raw": "4",
"type": "Literal",
"end": 1021,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 1021,
"isNotAName": true,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at BinaryExpression (/home/fanoush/EspruinoCompiler/src/infer.js:93:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ExpressionStatement.base.ParenthesizedExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:197:10)"
],
[
"undefined -> JsVar",
{
"start": 1029,
"name": "i",
"type": "Identifier",
"end": 1030,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.UnaryExpression.base.UpdateExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:290:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ExpressionStatement.base.ParenthesizedExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:197:10)"
],
[
"undefined -> JsVar",
{
"start": 1038,
"name": "i",
"type": "Identifier",
"end": 1039,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.IfStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:200:3)"
],
[
"undefined -> int",
{
"start": 1043,
"value": 0,
"raw": "0",
"type": "Literal",
"end": 1044,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.IfStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:200:3)"
],
[
"undefined -> bool",
{
"start": 1038,
"left": {
"start": 1038,
"name": "i",
"type": "Identifier",
"end": 1039,
"varType": "JsVar"
},
"operator": ">=",
"right": {
"start": 1043,
"value": 0,
"raw": "0",
"type": "Literal",
"end": 1044,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 1044,
"isNotAName": true,
"varType": "bool"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at BinaryExpression (/home/fanoush/EspruinoCompiler/src/infer.js:89:48)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.IfStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:200:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.Program.base.BlockStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:191:5)"
],
[
"undefined -> JsVar",
{
"start": 1048,
"name": "TemperatureMap",
"type": "Identifier",
"end": 1062,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 1063,
"name": "i",
"type": "Identifier",
"end": 1064,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 1068,
"name": "TemperatureMap",
"type": "Identifier",
"end": 1082,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 1083,
"name": "i",
"type": "Identifier",
"end": 1084,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> int",
{
"start": 1088,
"value": 2,
"raw": "2",
"type": "Literal",
"end": 1089,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 1110,
"name": "i",
"type": "Identifier",
"end": 1111,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.UnaryExpression.base.UpdateExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:290:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ExpressionStatement.base.ParenthesizedExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:197:10)"
],
[
"undefined -> JsVar",
{
"start": 1119,
"name": "i",
"type": "Identifier",
"end": 1120,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.IfStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:200:3)"
],
[
"undefined -> int",
{
"start": 1124,
"value": 0,
"raw": "0",
"type": "Literal",
"end": 1125,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.IfStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:200:3)"
],
[
"undefined -> bool",
{
"start": 1119,
"left": {
"start": 1119,
"name": "i",
"type": "Identifier",
"end": 1120,
"varType": "JsVar"
},
"operator": ">=",
"right": {
"start": 1124,
"value": 0,
"raw": "0",
"type": "Literal",
"end": 1125,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 1125,
"isNotAName": true,
"varType": "bool"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at BinaryExpression (/home/fanoush/EspruinoCompiler/src/infer.js:89:48)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.IfStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:200:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.Program.base.BlockStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:191:5)"
],
[
"undefined -> JsVar",
{
"start": 1129,
"name": "TemperatureMap",
"type": "Identifier",
"end": 1143,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 1144,
"name": "i",
"type": "Identifier",
"end": 1145,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 1149,
"name": "TemperatureMap",
"type": "Identifier",
"end": 1163,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 1164,
"name": "i",
"type": "Identifier",
"end": 1165,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> int",
{
"start": 1169,
"value": 5,
"raw": "5",
"type": "Literal",
"end": 1170,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 1191,
"name": "i",
"type": "Identifier",
"end": 1192,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.UnaryExpression.base.UpdateExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:290:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ExpressionStatement.base.ParenthesizedExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:197:10)"
],
[
"undefined -> JsVar",
{
"start": 1200,
"name": "i",
"type": "Identifier",
"end": 1201,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.IfStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:200:3)"
],
[
"undefined -> int",
{
"start": 1205,
"value": 0,
"raw": "0",
"type": "Literal",
"end": 1206,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.IfStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:200:3)"
],
[
"undefined -> bool",
{
"start": 1200,
"left": {
"start": 1200,
"name": "i",
"type": "Identifier",
"end": 1201,
"varType": "JsVar"
},
"operator": ">=",
"right": {
"start": 1205,
"value": 0,
"raw": "0",
"type": "Literal",
"end": 1206,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 1206,
"isNotAName": true,
"varType": "bool"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at BinaryExpression (/home/fanoush/EspruinoCompiler/src/infer.js:89:48)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.IfStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:200:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.Program.base.BlockStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:191:5)"
],
[
"undefined -> JsVar",
{
"start": 1210,
"name": "TemperatureMap",
"type": "Identifier",
"end": 1224,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 1225,
"name": "i",
"type": "Identifier",
"end": 1226,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 1230,
"name": "TemperatureMap",
"type": "Identifier",
"end": 1244,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 1245,
"name": "i",
"type": "Identifier",
"end": 1246,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> int",
{
"start": 1250,
"value": 7,
"raw": "7",
"type": "Literal",
"end": 1251,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 1272,
"name": "i",
"type": "Identifier",
"end": 1273,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.UnaryExpression.base.UpdateExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:290:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ExpressionStatement.base.ParenthesizedExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:197:10)"
],
[
"undefined -> JsVar",
{
"start": 1291,
"name": "TemperatureMap",
"type": "Identifier",
"end": 1305,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 1306,
"name": "i",
"type": "Identifier",
"end": 1307,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 1311,
"name": "TemperatureMap",
"type": "Identifier",
"end": 1325,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 1326,
"name": "i",
"type": "Identifier",
"end": 1327,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> int",
{
"start": 1331,
"value": 8,
"raw": "8",
"type": "Literal",
"end": 1332,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 1353,
"name": "i",
"type": "Identifier",
"end": 1354,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.UnaryExpression.base.UpdateExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:290:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ExpressionStatement.base.ParenthesizedExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:197:10)"
],
[
"undefined -> JsVar",
{
"start": 1362,
"name": "i",
"type": "Identifier",
"end": 1363,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.IfStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:200:3)"
],
[
"undefined -> int",
{
"start": 1366,
"value": 16,
"raw": "16",
"type": "Literal",
"end": 1368,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.IfStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:200:3)"
],
[
"undefined -> bool",
{
"start": 1362,
"left": {
"start": 1362,
"name": "i",
"type": "Identifier",
"end": 1363,
"varType": "JsVar"
},
"operator": "<",
"right": {
"start": 1366,
"value": 16,
"raw": "16",
"type": "Literal",
"end": 1368,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 1368,
"isNotAName": true,
"varType": "bool"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at BinaryExpression (/home/fanoush/EspruinoCompiler/src/infer.js:89:48)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.IfStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:200:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.Program.base.BlockStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:191:5)"
],
[
"undefined -> JsVar",
{
"start": 1372,
"name": "TemperatureMap",
"type": "Identifier",
"end": 1386,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 1387,
"name": "i",
"type": "Identifier",
"end": 1388,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 1392,
"name": "TemperatureMap",
"type": "Identifier",
"end": 1406,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 1407,
"name": "i",
"type": "Identifier",
"end": 1408,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> int",
{
"start": 1412,
"value": 7,
"raw": "7",
"type": "Literal",
"end": 1413,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 1434,
"name": "i",
"type": "Identifier",
"end": 1435,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.UnaryExpression.base.UpdateExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:290:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ExpressionStatement.base.ParenthesizedExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:197:10)"
],
[
"undefined -> JsVar",
{
"start": 1443,
"name": "i",
"type": "Identifier",
"end": 1444,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.IfStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:200:3)"
],
[
"undefined -> int",
{
"start": 1447,
"value": 16,
"raw": "16",
"type": "Literal",
"end": 1449,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.IfStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:200:3)"
],
[
"undefined -> bool",
{
"start": 1443,
"left": {
"start": 1443,
"name": "i",
"type": "Identifier",
"end": 1444,
"varType": "JsVar"
},
"operator": "<",
"right": {
"start": 1447,
"value": 16,
"raw": "16",
"type": "Literal",
"end": 1449,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 1449,
"isNotAName": true,
"varType": "bool"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at BinaryExpression (/home/fanoush/EspruinoCompiler/src/infer.js:89:48)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.IfStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:200:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.Program.base.BlockStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:191:5)"
],
[
"undefined -> JsVar",
{
"start": 1453,
"name": "TemperatureMap",
"type": "Identifier",
"end": 1467,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 1468,
"name": "i",
"type": "Identifier",
"end": 1469,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 1473,
"name": "TemperatureMap",
"type": "Identifier",
"end": 1487,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:308:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> JsVar",
{
"start": 1488,
"name": "i",
"type": "Identifier",
"end": 1489,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.MemberExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:309:22)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)"
],
[
"undefined -> int",
{
"start": 1493,
"value": 5,
"raw": "5",
"type": "Literal",
"end": 1494,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)"
],
[
"undefined -> JsVar",
{
"start": 1515,
"name": "i",
"type": "Identifier",
"end": 1516,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.UnaryExpression.base.UpdateExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:290:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.ExpressionStatement.base.ParenthesizedExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:197:10)"
],
[
"undefined -> JsVar",
{
"start": 1524,
"name": "i",
"type": "Identifier",
"end": 1525,
"varType": "JsVar"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Identifier (/home/fanoush/EspruinoCompiler/src/infer.js:60:9)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:293:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.IfStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:200:3)"
],
[
"undefined -> int",
{
"start": 1528,
"value": 16,
"raw": "16",
"type": "Literal",
"end": 1530,
"isNotAName": true,
"varType": "int"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at Literal (/home/fanoush/EspruinoCompiler/src/infer.js:68:36)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.BinaryExpression.base.AssignmentExpression.base.AssignmentPattern.base.LogicalExpression (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:294:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.IfStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:200:3)"
],
[
"undefined -> bool",
{
"start": 1524,
"left": {
"start": 1524,
"name": "i",
"type": "Identifier",
"end": 1525,
"varType": "JsVar"
},
"operator": "<",
"right": {
"start": 1528,
"value": 16,
"raw": "16",
"type": "Literal",
"end": 1530,
"isNotAName": true,
"varType": "int"
},
"type": "BinaryExpression",
"end": 1530,
"isNotAName": true,
"varType": "bool"
},
"Error\n at setType (/home/fanoush/EspruinoCompiler/src/infer.js:11:60)\n at BinaryExpression (/home/fanoush/EspruinoCompiler/src/infer.js:89:48)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:62:16)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.IfStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:200:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.skipThrough (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:180:3)\n at c (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:61:15)\n at Object.base.Program.base.BlockStatement (/home/fanoush/EspruinoCompiler/node_modules/acorn/dist/walk.js:191:5)"
],
[
"undefined -> JsVar",
{
"start": 1534,
"name": "TemperatureMap",
"type": "Identifier",
"end": 1548,