detect use of unassigned variables in compile phase