Project

General

Profile

Actions

Bug #14674

closed

New mismatched indentations warnings?

Added by marcandre (Marc-Andre Lafortune) about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
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