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
It looks like the script parser does not currently look explicitly for while and for keywords, and the result seems to be that it doesn't handle script with those keywords when there are nested braces:
component {
functiontest() {
for ( xiny ) {
if ( true ) {
}
}
}
// comment
}
With the above component, the parser identifies the end of the component and the function blocks one } too early.
The text was updated successfully, but these errors were encountered:
It looks like the script parser does not currently look explicitly for
while
andfor
keywords, and the result seems to be that it doesn't handle script with those keywords when there are nested braces:With the above component, the parser identifies the end of the component and the function blocks one
}
too early.The text was updated successfully, but these errors were encountered: