From 86ec5cf3275ed20f63cee17745fbd480e2722edf Mon Sep 17 00:00:00 2001 From: shyouhei Date: Fri, 4 Sep 2009 00:55:32 +0000 Subject: * NEWS: forgot to mention about new looser splats. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ NEWS | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index dd269360be..e9ba787b88 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Sep 4 09:52:58 2009 URABE Shyouhei + + * NEWS: forgot to mention about new looser splats. + Wed Sep 2 13:47:30 2009 Nobuyoshi Nakada * math.c (domain_check): simplified. diff --git a/NEWS b/NEWS index fa360160b0..524bc9e481 100644 --- a/NEWS +++ b/NEWS @@ -11,6 +11,13 @@ with all sufficient information, see the ChangeLog file. === Lexical changes +* looser splat opetator + + You can write things like: + x, *y, z = a, *b, c + def foo(a, b=1, *c, d); end + But when you evaluate them, you will get exceptions. + * new hash immediates Ruby 1.9 style hash syntax e.g. { key: value } is now also supported -- cgit v1.2.3