Expression evaluation with SPECIAL objects failed but this functionality has been disabled for 6.0.
There is also bug#12696 where the scope for an inline agent is being used within auto-expressions even though it isn't executable inline.