Synthesis of quinoline derivatives involving hydride transfer