diff -r 44ff2a6fcadc -r 990ecb883731 stage4/generate_c/il_code_gen.c --- a/stage4/generate_c/il_code_gen.c Fri Sep 02 18:15:55 2011 +0200 +++ b/stage4/generate_c/il_code_gen.c Fri Sep 02 18:16:33 2011 +0200 @@ -14947,7 +14947,7 @@ if (IN2_type_symbol == NULL) IN2_type_symbol = last_type_symbol; ADD_PARAM_LIST(IN2_param_name, IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in) - symbol_c * return_type_symbol = last_type_symbol; + symbol_c * return_type_symbol = IN1_type_symbol; function_type_suffix = IN1_type_symbol; break;