Intramolecular cyclization of in situ generated adducts formed between thioamide dianions and thioformamides leading to generation of 5-amino-2-thiazolines and 5-aminothiazoles, and their fluorescence properties.