Edit: This was a misunderstanding on my part.
I have a method that is called like this:
I am trying to substitute the third argument with its default like so:
but I am unable to do so.
I am then given this warning:
This is despite the default value being a String, in fact it is equal to that of the String shown in the first message - “,”
The parser does not seem to recognise that I am trying to use the , substitute in this case and instead skips to the next argument’s value. The , substitute works with every other argument.
Is this a bug?
If an image of the method declaration would be helpful, please let me know.
Edit: I have found that using the default value for the fourth argument (which is true) rather than writing ‘true’ or ‘false’ explicitly allows me to use , for the third argument like so: