@@ -2829,17 +2829,16 @@ LEAN_EXPORT lean_obj_res lean_decode_uv_error(int errnum, b_lean_obj_arg fname);
28292829
28302830static inline b_lean_obj_res lean_baseio_out_val (b_lean_obj_arg r) {
28312831 // TODO: This function needs to become identity after we are done.
2832- return lean_ctor_get (r, 0 );
2833- // return r;
2832+ // return lean_ctor_get(r, 0);
2833+ return r;
28342834}
28352835
28362836static inline lean_obj_res lean_mk_baseio_out (lean_obj_arg i) {
2837- // TODO: This function needs to become identity after we are done.
2838- lean_object * r = lean_alloc_ctor (0 , 2 , 0 );
2839- lean_ctor_set (r, 0 , i);
2840- lean_ctor_set (r, 1 , lean_box (0 ));
2841- return r;
2837+ // lean_object * r = lean_alloc_ctor(0, 2, 0);
2838+ // lean_ctor_set(r, 0, i);
2839+ // lean_ctor_set(r, 1, lean_box(0));
28422840 // return i;
2841+ return i;
28432842}
28442843
28452844static inline lean_obj_res lean_io_mk_world () { return lean_box (0 ); }
@@ -2859,15 +2858,13 @@ static inline lean_obj_res lean_io_result_take_value(lean_obj_arg r) {
28592858LEAN_EXPORT void lean_io_result_show_error (b_lean_obj_arg r);
28602859LEAN_EXPORT void lean_io_mark_end_initialization (void );
28612860static inline lean_obj_res lean_io_result_mk_ok (lean_obj_arg a) {
2862- lean_object * r = lean_alloc_ctor (0 , 2 , 0 );
2861+ lean_object * r = lean_alloc_ctor (0 , 1 , 0 );
28632862 lean_ctor_set (r, 0 , a);
2864- lean_ctor_set (r, 1 , lean_box (0 ));
28652863 return r;
28662864}
28672865static inline lean_obj_res lean_io_result_mk_error (lean_obj_arg e) {
2868- lean_object * r = lean_alloc_ctor (1 , 2 , 0 );
2866+ lean_object * r = lean_alloc_ctor (1 , 1 , 0 );
28692867 lean_ctor_set (r, 0 , e);
2870- lean_ctor_set (r, 1 , lean_box (0 ));
28712868 return r;
28722869}
28732870
0 commit comments