Highly stereoselective 7-endo-trig/ring contraction cascade to construct pyrrolo[1,2-a]quinoline derivatives.