Main icon indicating copy to clipboard operation
Main copied to clipboard

Bugs in ForWithEndingBreakToDoWhile

Open yossigil opened this issue 8 years ago • 4 comments

I fixed some of the problems, and disabled the tipper, but there is more work to be done:

  • The condition of the if statement must be ANDed with the condition of the if.
  • Do not insert statements: instead, create a new do, copy the full body of the for, and then, erase, using listrewrite the last statement.
  • If there are initializers, move them to before the block. Again, use listRewrite. There are method to "insertBefore" and "insertAfter" a statement
  • Duplicate the tip for while statement.
  • Go over all the tests; now they are incorrect.

yossigil avatar Apr 07 '17 16:04 yossigil

@AdiOmari : FYI. We call back on Doron to fix a bug. @ravivos : FYI

yossigil avatar Apr 07 '17 16:04 yossigil

@mdoron try spartanizing the Spartanizer project with your tipper and see if it gives errors.

OriRoth avatar Apr 07 '17 16:04 OriRoth

Did you abandon this? @mdoron @ravivos

yossigil avatar Apr 29 '17 09:04 yossigil

FYI: @tanyabrokhman

yossigil avatar May 25 '17 19:05 yossigil