Allow ($) to return an unlifted type (Trac #8739)