See 
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1732/display/redirect?page=changes>

Changes:

[joshtynjala] JSGoogConfiguration: add allow-dynamic-bindings

[joshtynjala] MXMLRoyaleEmitter: created an emitter interface for MXML 
specifiers so

[joshtynjala] GenerateRoyaleExports: MXML ids generated by the compiler should 
be


------------------------------------------
[...truncated 207.87 KB...]
    [junit] SEVERE: goog/object/object.js:255: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: let declaration.
    [junit]   for (let i = isArrayLike ? 0 : 1; i < keys.length; i++) {
    [junit]        ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:287: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]   for (const key in obj) {
    [junit]        ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:310: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]   for (const key in obj) {
    [junit]        ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:333: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]   const key = goog.object.findKey(obj, f, opt_this);
    [junit]   ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:346: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]   for (const key in obj) {
    [junit]        ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:360: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]   for (const i in obj) {
    [junit]        ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:375: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: let declaration.
    [junit]   let rv;
    [junit]   ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:470: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]   const val = f();
    [junit]   ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:486: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]   for (const k in a) {
    [junit]        ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:491: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]   for (const k in b) {
    [junit]        ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:509: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]   const res = {};
    [junit]   ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:510: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]   for (const key in obj) {
    [junit]        ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:536: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]   const clone = Array.isArray(obj) ? [] :
    [junit]   ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:542: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]   for (const key in obj) {
    [junit]        ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:559: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]   const transposed = {};
    [junit]   ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:560: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]   for (const key in obj) {
    [junit]        ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:598: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: let declaration.
    [junit]   let key;
    [junit]   ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:599: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: let declaration.
    [junit]   let source;
    [junit]   ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:600: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: let declaration.
    [junit]   for (let i = 1; i < arguments.length; i++) {
    [junit]        ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:612: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: let declaration.
    [junit]     for (let j = 0; j < goog.object.PROTOTYPE_FIELDS_.length; j++) {
    [junit]          ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:633: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]   const argLength = arguments.length;
    [junit]   ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:642: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]   const rv = {};
    [junit]   ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:643: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: let declaration.
    [junit]   for (let i = 0; i < argLength; i += 2) {
    [junit]        ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:660: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]   const argLength = arguments.length;
    [junit]   ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:665: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]   const rv = {};
    [junit]   ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:666: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: let declaration.
    [junit]   for (let i = 0; i < argLength; i++) {
    [junit]        ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:687: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: let declaration.
    [junit]   let result = obj;
    [junit]   ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:734: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]   const visitedSet = {};
    [junit]   ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:737: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: let declaration.
    [junit]   let proto = obj;
    [junit]   ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:741: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]     const names = Object.getOwnPropertyNames(proto);
    [junit]     ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/object/object.js:742: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: let declaration.
    [junit]     for (let i = 0; i < names.length; i++) {
    [junit]          ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/reflect/reflect.js:125: ERROR - This language feature 
is only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]   const storedKey = opt_keyFn ? opt_keyFn(key) : key;
    [junit]   ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/string/internal.js:39: ERROR - This language feature 
is only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]   const l = str.length - suffix.length;
    [junit]   ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/string/internal.js:140: ERROR - This language feature 
is only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]   const test1 = String(str1).toLowerCase();
    [junit]   ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/string/internal.js:141: ERROR - This language feature 
is only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]   const test2 = String(str2).toLowerCase();
    [junit]   ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/string/internal.js:328: ERROR - This language feature 
is only supported for ECMASCRIPT6 mode or better: let declaration.
    [junit]   let order = 0;
    [junit]   ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/string/internal.js:331: ERROR - This language feature 
is only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]   const v1Subs = 
goog.string.internal.trim(String(version1)).split('.');
    [junit]   ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/string/internal.js:332: ERROR - This language feature 
is only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]   const v2Subs = 
goog.string.internal.trim(String(version2)).split('.');
    [junit]   ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/string/internal.js:333: ERROR - This language feature 
is only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]   const subCount = Math.max(v1Subs.length, v2Subs.length);
    [junit]   ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/string/internal.js:336: ERROR - This language feature 
is only supported for ECMASCRIPT6 mode or better: let declaration.
    [junit]   for (let subIdx = 0; order == 0 && subIdx < subCount; subIdx++) {
    [junit]        ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/string/internal.js:337: ERROR - This language feature 
is only supported for ECMASCRIPT6 mode or better: let declaration.
    [junit]     let v1Sub = v1Subs[subIdx] || '';
    [junit]     ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/string/internal.js:338: ERROR - This language feature 
is only supported for ECMASCRIPT6 mode or better: let declaration.
    [junit]     let v2Sub = v2Subs[subIdx] || '';
    [junit]     ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/string/internal.js:344: ERROR - This language feature 
is only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]       const v1Comp = /(\d*)(\D*)(.*)/.exec(v1Sub) || ['', '', '', 
''];
    [junit]       ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/string/internal.js:345: ERROR - This language feature 
is only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]       const v2Comp = /(\d*)(\D*)(.*)/.exec(v2Sub) || ['', '', '', 
''];
    [junit]       ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/string/internal.js:353: ERROR - This language feature 
is only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]       const v1CompNum = v1Comp[1].length == 0 ? 0 : 
parseInt(v1Comp[1], 10);
    [junit]       ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: goog/string/internal.js:354: ERROR - This language feature 
is only supported for ECMASCRIPT6 mode or better: const declaration.
    [junit]       const v2CompNum = v2Comp[1].length == 0 ? 0 : 
parseInt(v2Comp[1], 10);
    [junit]       ^
    [junit] 
    [junit] Dec 21, 2020 8:14:27 PM 
com.google.javascript.jscomp.LoggerErrorManager printSummary
    [junit] WARNING: 201 error(s), 0 warning(s)
    [junit] 
    [junit] 53461 bytes written to 
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf>
 in 0.829 seconds
    [junit] 
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>:
 col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit]                                
initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit]                                                                     
              ^
    [junit] 
    [junit] Tests run: 23, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 
41.617 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:786:
 The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126:
 Tests failed

Total time: 50 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Reply via email to