I did not go to bed until my son had finished his homework.这句话从语法角度来看对吗?

问题描述:

I did not go to bed until my son had finished his homework.这句话从语法角度来看对吗?
我们老师上将说是对的,

not until的用法
始终记住一句话,从句比主句早一个时态,主将从现,主现从过,主过从完.