You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: This is a generated issue from our internal issue tracker.
Expect a dry description which could be insufficient to properly understand the issue.
On the other hand, the support files should be sufficient to easily reproduce and debug the issue,
but please comment if it's still unclear and I will get back with clarifications.
See main discussion thread here uncrustify#1223.
we checked out the code before the fix went into master and ran the test case with config mentioned above.
we still see the issue and concluded that this is not a Regression on PR 31,
hence it will be better if new issue is created for this in the upstream.
Expected versus output diff before PR-31
diff --git a/eop.txt b/op
index f4ac1d93..fecc74df 100644
--- a/eop.txt+++ b/op@@ -4,24 +4,24 @@ void Foo1()
{
case 1:
_bar = new Bar(x, y,
- z, a);+ z, a);^M
break;
case 2:
_bar = new Bar(x, y,
- z, a);+ z, a);^M
break;
case 3:
_bar = foo.bar;
break;
case 4:
foo.bar = Bar.BarFunc(x, (x == y)
- ? foo.x- : foo.y);+ ? foo.x^M+ : foo.y);^M
break;
case 5:
foo.bar = Bar.BarFunc(x, (x == y)
- ? foo.x- : foo.y);+ ? foo.x^M+ : foo.y);^M
break;
}
}
You're right, it does produce the same diff. I looked into it, and it was missing a config option (indent_align_assign) which I've added and pushed to master (1b06004).
Besides the regression (no indentation), I included only 1 level of indentation in the test, although it was previously 2 levels. So the test will still produce a diff before #31, but the test will be the correct expectation.
It is related to the discussion we had on #38 (comment).
Activity
spuppala-rythmos commentedon Nov 1, 2017
we checked out the code before the fix went into master and ran the test case with config mentioned above.
we still see the issue and concluded that this is not a Regression on PR 31,
hence it will be better if new issue is created for this in the upstream.
Expected versus output diff before PR-31
fixes #36 #38
Rassi commentedon Nov 1, 2017
You're right, it does produce the same diff. I looked into it, and it was missing a config option (
indent_align_assign) which I've added and pushed to master (1b06004).Besides the regression (no indentation), I included only 1 level of indentation in the test, although it was previously 2 levels. So the test will still produce a diff before #31, but the test will be the correct expectation.
It is related to the discussion we had on #38 (comment).