"If it had rained , I would have gone out ."这句话有没有语法上的错误?作文里面这样写对不对?

问题描述:

"If it had rained , I would have gone out ."这句话有没有语法上的错误?作文里面这样写对不对?
应该是“If it hadn't rained ,I would have gone out.”
然后是,“If it hadn't rained ,I would have gone out.”和“If it weren't raining ,I would go out.”这两句有什么区别吗?

语法上没错,但是语意上有错误了.
补充那两句没大的区别