summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-04 00:55:32 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-04 00:55:32 +0000
commit86ec5cf3275ed20f63cee17745fbd480e2722edf (patch)
tree80512efd5d626eec688c591c75bfef641af59b7b
parent6f14520a0606c03514fa2ab99caedacedac16e92 (diff)
* 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
-rw-r--r--ChangeLog4
-rw-r--r--NEWS7
2 files changed, 11 insertions, 0 deletions
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 <shyouhei@ruby-lang.org>
+
+ * NEWS: forgot to mention about new looser splats.
+
Wed Sep 2 13:47:30 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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