1 comment
Comment actions Permalink

Thanks for your report, we'll fix this bug shortly.
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

trying to invert the first if

 {
> public void asd()
> {
> bool insideVariabile=false;
> StringBuilder corpo;
> string bufferStringa;
> if (!insideVariabile)
> {
> insideVariabile = true;
> corpo.Append(ScriviStringa(bufferStringa));
> bufferStringa = string.Empty;
> }
> else
> {
> insideVariabile = false;
> if (controllaVuoto)
> condizione.Append(ScriviControllo(bufferVariabile));
> corpo.Append(ScriviVariabile(bufferVariabile));
> bufferVariabile = string.Empty;
> }
> }
> }]]>

result in this wrong code:

 {
> public void asd()
> {
> bool insideVariabile=false;
> StringBuilder corpo;
> string bufferStringa;
> if (insideVariabile)
> {
> {
> insideVariabile = false;
> if (controllaVuoto)
> condizione.Append(ScriviControllo(bufferVariabile));
> corpo.Append(ScriviVariabile(bufferVariabile));
> bufferVariabile = string.Empty;
> }
> }
> else
> {
> insideVariabile = true;
> corpo.Append(ScriviStringa(bufferStringa));
> bufferStringa = string.Empty;
> }
> }
> }
> ]]>



0

Please sign in to leave a comment.