Open amqndin opened 5 months ago
when trying to call any function using macros in a subdirectory it will throw an error. "expected operator"
https://jmc.wingedseal.com/try-out?jmc=FAMwrgdgxgLglgewgAjAdzACgJTIN7ACQAXMQIYBOA5gM4B0CaCyAvMgESMLsDcRRAUwAeAqGBgDkFSPiKEAJFzrzM6MNhx9CAX2Ro4MABbJSlWn23BQkWIhRKuOWYQAOFOBBghMnJu2wWQA
be able to call a function using macros
Workaround:
function uwu() { ::args.owo = "owo"; execute run { $function "namespace:owo/$(uwu)"; } with ::args; } function owo.owo() { printf("owo"); }
Describe the bug
when trying to call any function using macros in a subdirectory it will throw an error. "expected operator"
To Reproduce
https://jmc.wingedseal.com/try-out?jmc=FAMwrgdgxgLglgewgAjAdzACgJTIN7ACQAXMQIYBOA5gM4B0CaCyAvMgESMLsDcRRAUwAeAqGBgDkFSPiKEAJFzrzM6MNhx9CAX2Ro4MABbJSlWn23BQkWIhRKuOWYQAOFOBBghMnJu2wWQA
Expected behavior
be able to call a function using macros
Desktop