Report the type of unexpected expression objects

This patch reports the type of unexpected expression objects, which seems to be useful in tracking down the object itself.