You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
component {
function foo() {
var bar = {
function = ''
};
}
}
causes a parsing error, where the log output only shows null and the resulting cflint-result.xml is empty. This is because of function used as a structure key in this shorthand notation.
The same code, formed as below, doesn't cause any issues:
component {
function foo() {
var bar.function = '';
}
}
The text was updated successfully, but these errors were encountered:
The following code:
causes a parsing error, where the log output only shows
null
and the resultingcflint-result.xml
is empty. This is because offunction
used as a structure key in this shorthand notation.The same code, formed as below, doesn't cause any issues:
The text was updated successfully, but these errors were encountered: