Skip to content

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

@sam-falvo

Description

@sam-falvo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions