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

Boxing the symbol expression #667

Closed
arakov opened this issue Jun 30, 2024 · 1 comment
Closed

Boxing the symbol expression #667

arakov opened this issue Jun 30, 2024 · 1 comment
Assignees
Labels

Comments

@arakov
Copy link
Member

arakov commented Jun 30, 2024

Describe the bug

The static symbol must box the expression to the symbol type

To Reproduce

static Reference<int> Seed = 0;

int getSeed()
{
   int newVal := Seed + 1;

   Seed.Value := newVal;

   ^ newVal;
}

public program()
{
   console.writeLine(getSeed());
   console.writeLine(getSeed());
   console.writeLine(getSeed());
}

Expected behavior

The code must work corectly : generating three numbers : 1,2,3

@arakov arakov added the bug label Jun 30, 2024
@arakov arakov self-assigned this Jul 12, 2024
arakov added a commit that referenced this issue Jul 12, 2024
@arakov
Copy link
Member Author

arakov commented Jul 12, 2024

fixed in 6.2.2

@arakov arakov closed this as completed Jul 12, 2024
@arakov arakov mentioned this issue Jul 19, 2024
2 tasks
arakov added a commit that referenced this issue Jul 19, 2024
* [ADDED] text blocks
* [FIXED] #667 : Boxing the symbol expression
* [ADDED] CF : alternative output
* [ADDED] xforms60 script
* [ADDED] method reference - &myMethod
* [ADDED] xforms example
* [FIXED] external calls to be excluded from managed stack frames
* [FIXED] GC_ALLOC routine for vm mode
* [FIXED]x86-64 : vm client invoker
* [FIXED] only public classes can be loaded in run-time
* aarch64 : fixing movn opcode for negative value
@arakov arakov mentioned this issue Jul 19, 2024
2 tasks
This was referenced Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant