these_three_things t1_j3s01jb wrote

"Rest in peace" does not function as a verb in this sentence. It's simply a sentiment, like "hello" or "my thanks." Regardless, that does not affect the state of the object phrase.

You are correct that the example sentence is a clear parallel for the one we are discussing, but you are still making the same mistake in it. That sentence would read as follows:

> Give the recipe to [whoever has to cook the meal].

If you look at the bracketed phrase, it is clear that the subject of the phrase must be in the subjective case. You can't say "him has to cook the meal." If you put the pronoun in the objective case to satisfy the preposition, you are robbing the following phrase of its subject. If you give the "has to cook" phrase its subject, then the entire phrase works, and in its whole functions as the object.

The reason that looks strange is because in this construction, we are actually omitting a word. The proper way to say this sentence would be like so:

> Give the recipe to [the person] who has to cook the meal.

When it is worded as such, you can see that "the person" functions as the object of the initial phrase, and "who" functions as the subject of the second phrase. That second phrase is actually a dependent clause, so it requires a subject.

However, when you omit the object ("the person") of the first phrase, then the entire second clause becomes the object. It still, however, remains a complete clause with its own subject—and a pronoun in objective case cannot function as a subject.

This link does a good job of explaining our dilemma, using examples like the initial sentence, and the one you provided.


these_three_things t1_j3rrl9l wrote

I understand why it would seem that way, but in this case you are incorrect. In this sentence, the entire phrase serves as the object of the preposition.

"Whoever" is actually the subject of the verb "has to code," so the sentence would actually read like this:

> R.I.P. to [whoever has to code the Bluetooth portion of that chip].

Using the substitution method, you can confirm this. Instead of trying to substitute a he/him pronoun for the "to," try substituting pronouns for the "has to code" phrase. It must take a subjective case because that entire phrase requires a subject. And that entire phrase, lengthy though it may be, serves as the object of the initial preposition.

Source: I know grammar good.