parameters: (generator_info, return_type, typemap)
return_statement: return
docstring: postproc updates generator_info with live variables after transformations
      but generator variables have types in return_type that are updated here.
docstring_summary: postproc updates generator_info with live variables after transformations
      but generator variables have types in return_type that are updated here.
docstring_tokens: postproc updates generator_info with live variables after transformations but generator variables have types in return_type that are updated here .
function: def fix_generator_types(generator_info, return_type, typemap):
      """postproc updates generator_info with live variables after transformations
      but generator variables have types in return_type that are updated here.
      """
      new_state_types = []
      for v in generator_info.state_vars:
          new_state_types.append(typemap[v])
      return_type.state_types = tuple(new_state_types)
      return
function_tokens: def fix_generator_types ( generator_info , return_type , typemap ) : new_state_types = [ ] for v in generator_info . state_vars : new_state_types . append ( typemap [ v ] ) return_type . state_types = tuple ( new_state_types ) return