Issue #14674 has been updated by nobu (Nobuyoshi Nakada).


It was intentional, but mismatched with your style?

----------------------------------------
Bug #14674: New mismatched indentations warnings?
https://bugs.ruby-lang.org/issues/14674#change-71461

* Author: marcandre (Marc-Andre Lafortune)
* Status: Open
* Priority: Normal
* Assignee: nobu (Nobuyoshi Nakada)
* Target version: 2.6
* ruby -v: ruby 2.6.0dev (2018-04-11 trunk 63132) [x86_64-darwin15]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
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.



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>