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

ruby-changes:26551

From: usa <ko1@a...>
Date: Tue, 25 Dec 2012 22:33:49 +0900 (JST)
Subject: [ruby-changes:26551] usa:r38602 (ruby_1_9_3): * KNOWNBUGS.rb: if an exception is raised in hooks, need to raise the exception

usa	2012-12-25 22:33:40 +0900 (Tue, 25 Dec 2012)

  New Revision: 38602

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

  Log:
    * KNOWNBUGS.rb: if an exception is raised in hooks, need to raise the exception
      in the hooked context.  it's 1.8's behavior.
      see r38601 in trunk.

  Modified files:
    branches/ruby_1_9_3/KNOWNBUGS.rb
    branches/ruby_1_9_3/version.h

Index: ruby_1_9_3/KNOWNBUGS.rb
===================================================================
--- ruby_1_9_3/KNOWNBUGS.rb	(revision 38601)
+++ ruby_1_9_3/KNOWNBUGS.rb	(revision 38602)
@@ -3,5 +3,5 @@ https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/KNOWNBUGS.rb#L3
 # So all tests will cause failure.
 #
 
-assert_equal('ok', "set_trace_func(proc{|t,|raise if t == 'line'})\n""1\n'ok'")
+assert_equal('', "set_trace_func(proc{|t,|raise if t == 'line'})\n""1\n'ok'")
 assert_finish(3, "def m; end\n""set_trace_func(proc{|t,|raise if t == 'return'})\n""m")
Index: ruby_1_9_3/version.h
===================================================================
--- ruby_1_9_3/version.h	(revision 38601)
+++ ruby_1_9_3/version.h	(revision 38602)
@@ -1,5 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/version.h#L1
 #define RUBY_VERSION "1.9.3"
-#define RUBY_PATCHLEVEL 360
+#define RUBY_PATCHLEVEL 361
 
 #define RUBY_RELEASE_DATE "2012-12-25"
 #define RUBY_RELEASE_YEAR 2012

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

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