It's 3rd conditional. We use this tense to express impossible 'ifs'.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
CalifJimThe verb wish has a special grammar.In BrE that is just the standard way to express a negative in the past. If it were a negative in the present we would use present perfect: I haven't been to see that film, but because what we are talking about is in the past we switch to past perfect. Maybe AmE is different.