From: ag4ve.us@... Date: 2016-11-13T15:14:05+00:00 Subject: [ruby-core:78107] [Ruby trunk Bug#12929] ternary should look ahead w/in a block (and not care about newlines) Issue #12929 has been reported by shawn wilson. ---------------------------------------- Bug #12929: ternary should look ahead w/in a block (and not care about newlines) https://bugs.ruby-lang.org/issues/12929 * Author: shawn wilson * Status: Open * Priority: Normal * Assignee: * ruby -v: * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- foo = (bar ? 0 : 1) # works foo = (bar ? 0 : 1) # works foo = (bar ? 0 : 1) # doesn't work -- https://bugs.ruby-lang.org/ Unsubscribe: