I am almost certain I have done this in version 9 before now, so this must be an added 'unexpected feature'. Add a button to initiate a process, set to a literal value, and deployment fails.
It happened first in a segment in a library
Then in a segment in the project
then when I just added a button to the form.