Amber icon indicating copy to clipboard operation
Amber copied to clipboard

[BUG] using command modifiers with builtin function

Open MuhamedMagdi opened this issue 1 year ago • 3 comments

Describe the bug Using command modifiers silent, unsafe with builtin function result in Identifier 'silent' is a reserved keyword and Identifier 'unsafe' is a reserved keyword amber 0.3.4-alpha.

To Reproduce

unsafe echo 1

or use any failable builtin function #314 #311

Expected behavior no error

Additional context command modifiers can only be used with block or command literal

so

unsafe { echo 1 }

compile just fine

MuhamedMagdi avatar Jul 17 '24 19:07 MuhamedMagdi

I can confirm the issue, the discord bot instead return 1.

Mte90 avatar Jul 18 '24 08:07 Mte90

the issue is still there

Mte90 avatar Nov 12 '24 10:11 Mte90

it is still there

Mte90 avatar Jul 15 '25 09:07 Mte90