From: zverok.offline@... Date: 2020-12-16T19:52:18+00:00 Subject: [ruby-core:101475] [Ruby master Bug#17398] SyntaxError in endless method Issue #17398 has been reported by zverok (Victor Shepelev). ---------------------------------------- Bug #17398: SyntaxError in endless method https://bugs.ruby-lang.org/issues/17398 * Author: zverok (Victor Shepelev) * Status: Open * Priority: Normal * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN ---------------------------------------- This works: ```ruby def foo() = puts("bar") ``` This does not: ```ruby def foo() = puts "bar" # ^ syntax error, unexpected string literal, expecting `do' or '{' or '(' ``` Is this intentional or accidental? Not sure how it is reasoned. -- https://bugs.ruby-lang.org/ Unsubscribe: