Project

General

Profile

Actions

Bug #14674

closed

New mismatched indentations warnings?

Added by marcandre (Marc-Andre Lafortune) over 6 years ago. Updated over 6 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 2.6.0dev (2018-04-11 trunk 63132) [x86_64-darwin15]
[ruby-core:86492]

Description

I recently got a failure in my test suite because ruby head warns of indentation it considers mismatched:

$ ruby -w -e "
case
   when :foo
end
"
-e:3: warning: mismatched indentations at 'when' with 'case' at 2

I hope this is not intentional and will be fixed.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0