rocker icon indicating copy to clipboard operation
rocker copied to clipboard

With block invalid: multiple equals symbols found for assignment String href = "/abc?x=y"

Open albert-kam opened this issue 4 years ago • 0 comments

Hi,

I have an error stating:

With block invalid: multiple equals symbols found for assignment String href = "/abc?x=y"

With this code:

@with(String href = "/abc?x=y") {
}

If i went with the workaround code, avoiding = within the string like this, the error didnt happen.

@with(String href = $("/abc?%s", qs("x", "y"))) {

albert-kam avatar Oct 01 '20 03:10 albert-kam