Issue #12929 has been updated by Nobuyoshi Nakada.


https://github.com/ruby/ruby/compare/trunk...nobu:feature/12929-ternary

----------------------------------------
Feature #12929: ternary should look ahead w/in a block (and not care about newlines)
https://bugs.ruby-lang.org/issues/12929#change-62566

* Author: shawn wilson
* Status: Assigned
* Priority: Normal
* Assignee: Yukihiro Matsumoto
* Target version: 
----------------------------------------
```ruby
foo = (bar ? 0 : 1) # works
foo = (bar ?
  0 : 1) # works
foo = (bar
  ? 0
  : 1) # doesn't work
```

---Files--------------------------------
Screen Shot 2016-11-14 at 10.24.39.png (207 KB)


-- 
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>