Application of the Pd-catalyzed heteroarylation to the synthesis of 5-(indol-2 '-yl)pyridin-2-one and 5-(indol-2 '-yl)pyran-2-one