Gets get_constant working with no explicit type argument.