Are you certain that it was that particular commit that caused the warnings to appear? I don't see how changing the formatting of JS generated from MXML could possibly affect externs.
-- Josh Tynjala Bowler Hat LLC <https://bowlerhat.dev> On Fri, Feb 14, 2020 at 6:41 AM Carlos Rovira <carlosrov...@apache.org> wrote: > Hi, > > since the this commit by Josh (d46a4846ad11f10e5603346640f969cc6f0f83d5), I > started to see this warnings about FileSystemFlags > > FileSystemFlags is defined in Typedefs, but I only see one reference > > for example a trace from TodoMVC shows the following log, since is using > Storage library that uses classes that extends FileSystemFlags > > Hope other could take a look to see how to properly fix this. > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:35: WARNING - Variable > FileSystemFlags declared more than once. First occurrence: > externs.zip//fileapi.js > > function FileSystemFlags() {}; > > ^^^^^^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:35: WARNING - variable > FileSystemFlags redefined, original definition at > externs.zip//fileapi.js:138 > > function FileSystemFlags() {}; > > ^^^^^^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:49: WARNING - Variable > DirectoryEntry declared more than once. First occurrence: > externs.zip//fileapi.js > > function DirectoryEntry() {}; > > ^^^^^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:49: WARNING - variable > DirectoryEntry redefined, original definition at > externs.zip//fileapi.js:152 > > function DirectoryEntry() {}; > > ^^^^^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:55: WARNING - variable > DirectoryEntry.prototype.createReader redefined, original definition at > externs.zip//fileapi.js:158 > > DirectoryEntry.prototype.createReader = function() {}; > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:65: WARNING - variable > DirectoryEntry.prototype.getFile redefined, original definition at > externs.zip//fileapi.js:168 > > DirectoryEntry.prototype.getFile = function(path, options, successCallback, > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:76: WARNING - variable > DirectoryEntry.prototype.getDirectory redefined, original definition at > externs.zip//fileapi.js:179 > > DirectoryEntry.prototype.getDirectory = function(path, options, > successCallback, > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:85: WARNING - variable > DirectoryEntry.prototype.removeRecursively redefined, original definition > at externs.zip//fileapi.js:188 > > DirectoryEntry.prototype.removeRecursively = function(successCallback, > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:92: WARNING - Variable > DirectoryReader declared more than once. First occurrence: > externs.zip//fileapi.js > > function DirectoryReader() {}; > > ^^^^^^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:92: WARNING - variable > DirectoryReader redefined, original definition at > externs.zip//fileapi.js:195 > > function DirectoryReader() {}; > > ^^^^^^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:100: WARNING - variable > DirectoryReader.prototype.readEntries redefined, original definition at > externs.zip//fileapi.js:203 > > DirectoryReader.prototype.readEntries = function(successCallback, > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:107: WARNING - Variable > FileSaver declared more than once. First occurrence: > externs.zip//fileapi.js > > function FileSaver() {}; > > ^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:107: WARNING - variable > FileSaver redefined, original definition at externs.zip//fileapi.js:628 > > function FileSaver() {}; > > ^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:113: WARNING - variable > FileSaver.prototype.abort redefined, original definition at > externs.zip//fileapi.js:634 > > FileSaver.prototype.abort = function() {}; > > ^^^^^^^^^^^^^^^^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:119: WARNING - variable > FileSaver.prototype.INIT redefined, original definition at > externs.zip//fileapi.js:640 > > FileSaver.prototype.INIT = 0; > > ^^^^^^^^^^^^^^^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:125: WARNING - variable > FileSaver.prototype.WRITING redefined, original definition at > externs.zip//fileapi.js:646 > > FileSaver.prototype.WRITING = 1; > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:131: WARNING - variable > FileSaver.prototype.DONE redefined, original definition at > externs.zip//fileapi.js:652 > > FileSaver.prototype.DONE = 2; > > ^^^^^^^^^^^^^^^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:185: WARNING - Variable > FileSystem declared more than once. First occurrence: > externs.zip//fileapi.js > > function FileSystem() {} > > ^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:185: WARNING - variable > FileSystem redefined, original definition at externs.zip//fileapi.js:706 > > function FileSystem() {} > > ^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:204: WARNING - Variable > FileWriter declared more than once. First occurrence: > externs.zip//fileapi.js > > function FileWriter() {} > > ^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:204: WARNING - variable > FileWriter redefined, original definition at externs.zip//fileapi.js:725 > > function FileWriter() {} > > ^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:223: WARNING - variable > FileWriter.prototype.write redefined, original definition at > externs.zip//fileapi.js:744 > > FileWriter.prototype.write = function(blob) {}; > > ^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:230: WARNING - variable > FileWriter.prototype.seek redefined, original definition at > externs.zip//fileapi.js:751 > > FileWriter.prototype.seek = function(offset) {}; > > ^^^^^^^^^^^^^^^^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:237: WARNING - variable > FileWriter.prototype.truncate redefined, original definition at > externs.zip//fileapi.js:758 > > FileWriter.prototype.truncate = function(size) {}; > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:244: WARNING - Variable > FileEntry declared more than once. First occurrence: > externs.zip//fileapi.js > > function FileEntry() {}; > > ^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:244: WARNING - variable > FileEntry redefined, original definition at externs.zip//fileapi.js:349 > > function FileEntry() {}; > > ^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:252: WARNING - variable > FileEntry.prototype.createWriter redefined, original definition at > externs.zip//fileapi.js:357 > > FileEntry.prototype.createWriter = function(successCallback, errorCallback) > {}; > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:260: WARNING - variable > FileEntry.prototype.file redefined, original definition at > externs.zip//fileapi.js:365 > > FileEntry.prototype.file = function(successCallback, errorCallback) {}; > > ^^^^^^^^^^^^^^^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:266: WARNING - Variable > Entry declared more than once. First occurrence: externs.zip//fileapi.js > > function Entry() {}; > > ^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:266: WARNING - variable > Entry redefined, original definition at externs.zip//fileapi.js:210 > > function Entry() {}; > > ^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:306: WARNING - variable > Entry.prototype.moveTo redefined, original definition at > externs.zip//fileapi.js:250 > > Entry.prototype.moveTo = function(parent, newName, successCallback, > > ^^^^^^^^^^^^^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:317: WARNING - variable > Entry.prototype.copyTo redefined, original definition at > externs.zip//fileapi.js:261 > > Entry.prototype.copyTo = function(parent, newName, successCallback, > > ^^^^^^^^^^^^^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:325: WARNING - variable > Entry.prototype.toURL redefined, original definition at > externs.zip//fileapi.js:269 > > Entry.prototype.toURL = function(mimeType) {}; > > ^^^^^^^^^^^^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:333: WARNING - variable > Entry.prototype.remove redefined, original definition at > externs.zip//fileapi.js:277 > > Entry.prototype.remove = function(successCallback, errorCallback) {}; > > ^^^^^^^^^^^^^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:341: WARNING - variable > Entry.prototype.getMetadata redefined, original definition at > externs.zip//fileapi.js:285 > > Entry.prototype.getMetadata = function(successCallback, errorCallback) {}; > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > println > > ADVERTENCIA: externs/cordova_file_plugin-4-11.js:349: WARNING - variable > Entry.prototype.getParent redefined, original definition at > externs.zip//fileapi.js:293 > > Entry.prototype.getParent = function(successCallback, errorCallback) {}; > > ^^^^^^^^^^^^^^^^^^^^^^^^^ > > > feb 14, 2020 3:17:23 PM com.google.javascript.jscomp.LoggerErrorManager > printSummary > > -- > Carlos Rovira > http://about.me/carlosrovira >