Redmine 6327 - Interpret failing function calls in ifvarclass/if/unless as class not set

Surely canonify turns init.never into "_any" rather than "!any" ?
It won't be a defined class, all the same, but it shouts out the oddness of calling canonify here.
I take it you're doing so purely to test that calling a function gets handled correctly, so any function would do.
How about calling escape() instead - I don't think '!' is special in regexes, so it should be left alone.
Or you could use concat(), assuming it does the obvious fatuous thing when given only one string.