[前][次][番号順一覧][スレッド一覧]

ruby-changes:13000

From: shyouhei <ko1@a...>
Date: Fri, 4 Sep 2009 09:55:43 +0900 (JST)
Subject: [ruby-changes:13000] Ruby:r24745 (ruby_1_8): * NEWS: forgot to mention about new looser splats.

shyouhei	2009-09-04 09:55:32 +0900 (Fri, 04 Sep 2009)

  New Revision: 24745

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24745

  Log:
    * NEWS: forgot to mention about new looser splats.

  Modified files:
    branches/ruby_1_8/ChangeLog
    branches/ruby_1_8/NEWS

Index: ruby_1_8/NEWS
===================================================================
--- ruby_1_8/NEWS	(revision 24744)
+++ ruby_1_8/NEWS	(revision 24745)
@@ -11,6 +11,13 @@
 
 === 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
Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog	(revision 24744)
+++ ruby_1_8/ChangeLog	(revision 24745)
@@ -1,3 +1,7 @@
+Fri Sep  4 09:52:58 2009  URABE Shyouhei  <shyouhei@r...>
+
+	* NEWS: forgot to mention about new looser splats.
+
 Wed Sep  2 13:47:30 2009  Nobuyoshi Nakada  <nobu@r...>
 
 	* math.c (domain_check): simplified.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]