The bundle js minifier fails with "run-time warning JS1028: Expected identifier or string: super" while attempting to minify the javascript below:
$$._PendingSendPortFinder = {"":
["ports?", "_visited"],
super: "_MessageTraverser", //<--- this line specifically
visitSendPort$1: function(port) {
if (typeof port === 'object' && port !== null && !!port.is$_BufferingSendPort && port.get$_port() == null)
$.add$1(this.ports, port.get$_futurePort());
}
"super" is reserved, but reserved words actually only apply to Identifiers (vs. IdentifierNames) . As described in es5.github.com/#A.1, these are all IdentifierNames which do not exclude ReservedWords.
a.import
a["import"]
a = { import: "test" }.
The use of 'super' as a PropertyName is permitted, just like 'import' in the last example above.