Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Semantic Analysis: add a temp variable for the Temp Vector Copied Var #4843

Closed
MarcusDenker opened this issue Oct 7, 2019 · 0 comments · Fixed by #4893

Comments

@MarcusDenker
Copy link
Member

commented Oct 7, 2019

Copied temps are copies of "normal" temp variable that are used to copy a value from the definition context to the use (if the use is just a read).

As such there is a "originalVar"

The temp vector is made accessible in sub contexts as a copied var, but the "originalVar" is
nil

--> we should have a temp for the temp vector. This will make lots of things easier (e.g. finding the definition scope for any temp vector copied var will be just "originalVar scope").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.