preserve comments: replace cast with var

This commit is contained in:
Anna.Kozlova
2017-12-14 11:41:51 +01:00
parent 003763b55f
commit 0bc1e140a3
3 changed files with 6 additions and 3 deletions
@@ -7,6 +7,7 @@ class FooBar {
FooBar foobar = (FooBar)foo;
foobar = null;
FooBar foobar2 = (FooBar)foo;
return foobar2.baz;
//comment
return foobar2.baz;
}
}
@@ -7,6 +7,7 @@ class FooBar {
FooBar foobar = (FooBar)foo;
foobar = null;
FooBar foobar2 = (FooBar)foo;
return ((FooBar<caret>)foo).baz;
return ((FooBar<caret>)foo//comment
).baz;
}
}