Menu ▾ ▴

#434 Named parameter idiom idention

closed-fixed
None
2023-09-23
2017-05-03
dnb
No

Great work, but a little problem with the following idention:

void test() {
   Class class;
   class.setA( 1 )
       .setB( 2 )
          .setC( 3 );
   return;
}

Current result:

void test() {
   Class class;
   class.setA( 1 )
   .setB( 2 )
   .setC( 3 );
   return;
}

Wanted:

void test() {
   Class class;
   class.setA( 1 )
        .setB( 2 )
        .setC( 3 );
   return;
}

Exist a workaround, or can you tell me the position to fix?

Discussion

  • André Simon

    André Simon - 2023-05-10
    • status: open --> open-accepted
    • assigned_to: Jim Pattee --> André Simon
     
  • André Simon

    André Simon - 2023-09-08

    It is a bit overdue but finally fixed in the gitlab repo.

     
  • André Simon

    André Simon - 2023-09-23

    Fixed in 3.4.8.

     
  • André Simon

    André Simon - 2023-09-23
    • status: open-accepted --> closed-fixed
     

Log in to post a comment.