{ "id": "174331", "key": "ALOY-1708", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2019-10-31T21:48:10.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "engTriage" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2020-01-07T22:45:25.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "The following fails on Alloy 1.14.1:\r\n\r\nalloy.js\r\n{code:js}\r\nAlloy.Globals.test = 'Helvetica';\r\n{code}\r\n\r\nindex.xml\r\n{code:xml}\r\n\r\n \r\n{code}\r\n\r\nError:\r\n{code}\r\n[ERROR] Error parsing code in app/widgets/mywidget/controllers/widget.js. Unexpected token, expected \",\" (69:68)\r\n[ERROR] 67 | $.__views.__alloyId173.add($.__views.__alloyId174);\r\n[ERROR] 68 | $.__views.__alloyId175 = Ti.UI.createLabel(\r\n[ERROR] > 69 | {color:Alloy.CFG.styles.textColor,font:{fontSize:16,fontFamily:Alloy:CFG.fonts.sourceSansPro.bold,},text:\"Hello World\",id:\"__alloyId175\",}\r\n[ERROR] | ^\r\n[ERROR] 70 | );\r\n[ERROR] 71 | $.__views.__alloyId174.add($.__views.__alloyId175);\r\n[ERROR] 72 | $.__views.__alloyId176 = Ti.UI.createView(\r\n[ERROR] Alloy compiler failed\r\n{code}", "attachment": [], "flagged": false, "summary": "Alloy: Compile fails if object property contains variable", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "453484", "author": { "name": "bhouse", "key": "bhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "body": "[~hknoechel] - are you still seeing this?", "updateAuthor": { "name": "bhouse", "key": "bhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "created": "2020-01-07T19:52:07.000+0000", "updated": "2020-01-07T19:52:07.000+0000" }, { "id": "453487", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Haven't tried out since then. Was there an Alloy fix for this? You should probably try it out", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-01-07T21:59:38.000+0000", "updated": "2020-01-07T21:59:38.000+0000" }, { "id": "453488", "author": { "name": "bhouse", "key": "bhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "body": "I tried it with Alloy 1.14.5 and couldn't recreate. I just wanted to make sure you were good.", "updateAuthor": { "name": "bhouse", "key": "bhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "created": "2020-01-07T22:45:25.000+0000", "updated": "2020-01-07T22:45:25.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }