Menu

#465 Incorrect indentation of C# templated function declaration

closed-fixed
None
2018-01-25
2017-11-03
a9892b58
No

Source (correct):

T Func<T>(string name) where T : Object;
T Func<T>(string prefix, string name) where T : Object;

Current trunk (incorrect):

T Func<T>(string name) where T : Object;
    T Func<T>(string prefix, string name) where T : Object;

This is a regression since the current stable 3.0 release.
I don't have a workaround for this one yet.

Discussion

  • a9892b58

    a9892b58 - 2017-11-03

    I attach a patch with a workaround. isInClassInitializer was not reset at end of statement.

     
  • Jim Pattee

    Jim Pattee - 2017-11-05
    • status: open --> open-fixed
    • assigned_to: Jim Pattee
     
  • Jim Pattee

    Jim Pattee - 2017-11-05

    Fixed.

     
  • Jim Pattee

    Jim Pattee - 2018-01-25
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.