Reformat - Shorten references bug

Hello,

there is still a bug in 208 on Reformat Code...|Shorten References option.
From time to time NUnit Asserts are modified as follows:

Before:
Assert.AreEqual(0, blafasel);

After:
Assert.AreEqual((object)0, (object)blafasel);


Sincerely,
Stefan Lieser


3 comments
Comment actions Permalink

Could you please try to reproduce this behavour on a small file??????????

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Stefan Lieser" <slieser@t-online.de> wrote in message
news:djn919$rdo$1@is.intellij.net...

Hello,

>

there is still a bug in 208 on Reformat Code...|Shorten References
option. From time to time NUnit Asserts are modified as follows:

>

Before:
Assert.AreEqual(0, blafasel);

>

After:
Assert.AreEqual((object)0, (object)blafasel);

>
>

Sincerely,
Stefan Lieser



0
Comment actions Permalink

Hello Eugene,

"Eugene Pasynkov (JetBrains)" <Eugene.Pasynkov@jetbrains.com> schrieb im
Newsbeitrag news:djnbvu$cgh$1@is.intellij.net...

Could you please try to reproduce this behavour on a small file??????????


Well, I tried it altready, but it happens only on my production code :(
But I will try it again....


Sincerely,
Stefan Lieser


0
Comment actions Permalink

This bug will be fixed in the coming build #210.

Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Hello,

there is still a bug in 208 on Reformat Code...|Shorten References
option. From time to time NUnit Asserts are modified as follows:

Before:
Assert.AreEqual(0, blafasel);
After:
Assert.AreEqual((object)0, (object)blafasel);
Sincerely,
Stefan Lieser



0

Please sign in to leave a comment.