fixed bug with function assignment not actually doing anything in checker and generator