{ "id": "62289", "key": "TIMOB-1657", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-07-31T22:52:15.000+0000", "created": "2011-04-15T02:58:36.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "android", "feature", "ios", "parser" ], "versions": [], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-10T18:31:07.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

The following const statement makes the build and Ti Developer\nhang:

\n

var utils = (function() {

\n
\nconst DAY_MILLIS = 24 * 60 * 60 * 1000;\n\n// lots more...\n
\n

})();

\n

Changing const to var works.

{html}", "attachment": [], "flagged": false, "summary": "JS compiler hangs", "creator": { "name": "tomquas", "key": "tomquas", "displayName": "tom quas", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rpfeiffer", "key": "rpfeiffer", "displayName": "Ralf Pfeiffer", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "126296", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

We do not support const. Consider this a low-priority\nfeature.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:58:37.000+0000", "updated": "2011-04-15T02:58:37.000+0000" }, { "id": "264310", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Could not reproduce with Titanium SDK 3.1.1.GA. const was added in JavaScript 1.5 (but is not apart of ECMAScript 5) and is compatible (but not necessarily enforced) by Titanium on iOS and Android.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-07-31T22:52:15.000+0000", "updated": "2013-07-31T22:52:15.000+0000" }, { "id": "411249", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-10T18:31:07.000+0000", "updated": "2017-03-10T18:31:07.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }