jmc icon indicating copy to clipboard operation
jmc copied to clipboard

[BUG] unable to use macros with variables.

Open amqndin opened this issue 2 months ago • 2 comments

Describe the bug

unable to use macro in a line with variable operation of some sort. i get following error:

In src/code/arthealth/entity.jmc:67:5
Unexpected double variable sign at line 67 col 5.
66 |    // tf you looking at
67 |    $$uwu = namespace.$(owo):@s;
        ^^^^^
68 |    // tf you looking at

To Reproduce

[Steps to reproduce the behavior]

  1. type this in any function
$$uwu = namespace.$(owo):@s;
  1. compile it

Expected behavior

i didnt expect any error.

Desktop

  • os - windows
  • jmc version - latest build from github
  • python - 3.12

Additional context

if you do

$$uwu = $(owo):@s;

then its gonna work

amqndin avatar Apr 27 '24 14:04 amqndin