Actions
Bug #15994
closedirb miscalculates nest level when typing do keyword
Bug #15994:
irb miscalculates nest level when typing do keyword
ruby -v:
ruby 2.7.0dev (2019-07-10T18:37:22Z master d57ce99b7d) [x86_64-linux]
Backport:
Description
While typing while, until and for, IRB miscalculates indent level after typing do.
Without do, everything OK.
Just after typing do (before ENTER), nest level increased. (■ is cursor)
It doesn't happen with then.
Affected: 2.7.0dev
Unaffected: 2.6.3p62
Actions