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
So the second inner scope uses the list from the first inner scope? This is just wrong -> there would be no scoping. And of course none of the second scope's list are used in the Counts. This is even more wrong.
It should be as followed:
A.1 Count // prints the Count of the A list since this is the first List in the scope
A New List // all following Counts will use this List until a new one is defined
A.2 Count
{ // new scope
A.3 Count // since the outer scope is copied into the inner one, A is the first List
B New List // all following Counts will use this list until a new one is defined
B.4 Count
C New List // here is a new one
C.5 Count
} // end of inner scope -> outer scope is in place again
A.6 Count
D New List
D.7 Count
The text was updated successfully, but these errors were encountered:
This is NO "variable" problem, we simply do not have token attributes yet. This also means that scopes have to be updated when tokens clone children -> how? what is the best way for this?
The following format
Prints
So the second inner scope uses the list from the first inner scope? This is just wrong -> there would be no scoping. And of course none of the second scope's list are used in the Counts. This is even more wrong.
It should be as followed:
The text was updated successfully, but these errors were encountered: