When calling daphne, users can provide named script arguments that are available inside the DaphneDSL script.
According to the DaphneDSL language reference, only literals may be passed as script arguments
However, the following calls of daphne with invalid script arguments all passed "successfully" (status code 0) and some didn't even indicate any error.
Fixed invalid script arguments that try to evaulate an expression
When calling daphne, users can provide named script arguments that are available inside the DaphneDSL script. According to the DaphneDSL language reference, only literals may be passed as script arguments
However, the following calls of daphne with invalid script arguments all passed "successfully" (status code 0) and some didn't even indicate any error.
bin/daphne test/api/cli/scriptargs/printSingleArg.daphne foo="sin(1.23)"
bin/daphne test/api/cli/scriptargs/printSingleArg.daphne foo="1.23*4.56"
bin/daphne test/api/cli/scriptargs/printSingleArg.daphne foo=10xyz23