Actions
Bug #16981
closed[ripper] mismatched indentations warning has disappeared since 2.6
Description
$ ruby2.5 -v -rripper -e 'r = Ripper.new("begin\n end"); def r.warn(*e) p e; end; r.parse'
ruby 2.5.8p224 (2020-03-31 revision 67882) [x86_64-darwin19]
["mismatched indentations at '%s' with '%s' at %d", "end", "begin", 1]
$ ruby2.6 -v -rripper -e 'r = Ripper.new("begin\n end"); def r.warn(*e) p e; end; r.parse'
ruby 2.6.6p146 (2020-03-31 revision 67876) [x86_64-darwin19]
$ ruby2.7 -v -rripper -e 'r = Ripper.new("begin\n end"); def r.warn(*e) p e; end; r.parse'
ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-darwin19]
Actions
Like0
Like0Like0Like0