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
This causes an AST construction error for the second declaration of i, because it is seen as a duplicate. This is a little strange, and I would expect either:
The error to be associated with the inner i, because the outer declaration is hoisted to the beginning of the outer scope.
There to be no error, because when the outer i is declared, the inner i is no longer in scope.
The text was updated successfully, but these errors were encountered:
(Reported by a PV student:)
This causes an AST construction error for the second declaration of
i
, because it is seen as a duplicate. This is a little strange, and I would expect either:i
, because the outer declaration is hoisted to the beginning of the outer scope.i
is declared, the inneri
is no longer in scope.The text was updated successfully, but these errors were encountered: