Interpolated strings cannot be used as arguments without parentheses

When using functions, you cannot use an interpolated string as an argument to a function without adding parentheses.

local function x(...)
    print(...)
end

x "yz" --// -> ok
x `{math.random()}` --// -> SyntaxError

Workaround: Just use parentheses. There are places that I prefer the parentheses-less syntax which is why I am reporting this issue but it can be worked around pretty easy.

image
can be made into this…
image

or for that matter simply just SubIcon = Utilities.Icon(Result[1] and "check-plain" or "x") avoiding the string usage entirely

I know there will be replies to this saying that “it is incorrect to use functions without parentheses”, but it works totally fine for normal strings so this behavior is likely unintended.

This is intended.