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

Problem: Oberon Compiler destroys procedure stack image when assigning a string to an ARRAY OF CHAR variable. #15

Open
sam-falvo opened this issue Apr 20, 2016 · 0 comments

Comments

@sam-falvo
Copy link

Originally from KestrelComputer/kestrel#223

Two solutions exist:

  1. IF destination is an open array, THEN issue a compiler error, OR,
  2. IF destination is an open array AND source is a constant string item, THEN just set the pointer and length attributes of the open array.

To reproduce, see https://gist.github.com/sam-falvo/7a138b708bebc5c292d6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant