A novel three-component [5 + 1] heterocyclization leading to 2-azafluorenone synthesis and its polyfunctionalizations.