Anonymous functions in config: why does it work?

Hay that’s the question I forgot to ask: so this wouldn’t work in releases?