asar icon indicating copy to clipboard operation
asar copied to clipboard

assert (1 || 1)

Open Alcaro opened this issue 1 year ago • 1 comments
trafficstars

[19:41:48]  <Sir Walrus> !rb as2
db (1 || 1)
[19:41:49]  <randombot999#8226> 01
[19:43:07]  <Sir Walrus> !rb as2
assert (1||1)
[19:43:07]  <randombot999#8226> (no output)
[19:41:44]  <Sir Walrus> !rb as2
assert (1 || 1)
[19:41:44]  <randombot999#8226> Errors occurred while assembling.
<input>:2: error: (Emismatched_parentheses): Mismatched parentheses.
    in block: [assert (1 || 1)]

maybe that should work

~~probably best implemented by simply deleting the && and || handling~~ e: apparently not. Probably still easy though.

Alcaro avatar Aug 27 '24 17:08 Alcaro

assembleblock does a qpsplit(word[-1], ",") in order to check whether the optional argument was given. should be demoted to qsplit i think?? or actually, should join all arguments together and then qpsplit that. i think the if-expression-evaulator already does that

trillllian avatar Aug 27 '24 17:08 trillllian