From d1ae2bc27fd4183e6abb9e83691e192bfe1e5316 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Tue, 12 Nov 2019 17:04:11 +0900 Subject: [PATCH] NEWS: Make it clear that delegation syntax `(...)` requires parentheses Ref [Feature #16253] --- NEWS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 244d5abd11..893fb6ee13 100644 --- a/NEWS +++ b/NEWS @@ -191,7 +191,7 @@ sufficient information, see the ChangeLog file or Redmine * +yield+ in singleton class syntax is warned and will be deprecated later [Feature #15575]. -* Argument forwarding by ... is introduced. [Feature #16253] +* Argument forwarding by (...) is introduced. [Feature #16253] def foo(...) bar(...) @@ -199,6 +199,7 @@ sufficient information, see the ChangeLog file or Redmine All arguments to +foo+ are forwarded to +bar+, including keyword and block arguments. + Note that the parentheses are mandatory. `bar ...` is parsed as an endless range. === Core classes updates (outstanding ones only)