that I use in several places start to produce errors like
execute of template failed: template: partials/function/content.html:17:15: executing "partials/function/content.html" at <partial "function/escape.html" $content>: error calling partial: partials that returns a value needs a non-zero argument.
I seem to be unable to parse the error message. What exactly became illegal in my syntax?
Sorry, should have read the release notes more closely. So, does this mean that I need to do the emptiness check every time I call these partials? Why?
Before this, if you had a partial that returned something and you passed a zero value (e.g. 0 or “”) you would not get an error, but the partial would not be invoked.
… I will fix this, but I had to put in a error message in the meantime.
I see, so what you’re saying is the partial was not being invoked anyway, and this way there’ll at least be some awareness of the fact and no hard-to-debug ruined expectations? Makes sense.