Titanium JIRA Archive
Appcelerator Community (AC)

[AC-4705] I can't use 'let' keyword

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionDuplicate
Resolution Date2017-01-03T12:47:05.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterJérémy Tonneau
AssigneeShak Hossain
Created2017-01-03T10:38:07.000+0000
Updated2017-01-03T12:47:05.000+0000

Description

Hello, While your doc said that Node 4.6 is supported for app I can't do that :
let i = 0;
i++;
This example is stupid, I know but it produce this :
[ERROR] :  Error generating AST for "/***/app/controllers/products/productsScroll.js"
[ERROR] :  Unexpected token: name (i)
[ERROR] :  line 38, column 4, position 1120
[ERROR] :  Alloy compiler failed
Any idea why ?

Comments

  1. Hans Knöchel 2017-01-03

    Resolving as Duplicate of TIMOB-19834

JSON Source