[ruby-cvs:51315] ko1:r44170 (trunk): * error.c: add Exception#backtrace_locations.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Fri Dec 13 13:31:08 JST 2013


ko1	2013-12-13 13:31:06 +0900 (Fri, 13 Dec 2013)

  New Revision: 44170

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

  Log:
    * error.c: add Exception#backtrace_locations.
      Now, there are no setter and independent from Exception#backtrace.
      [Feature #8960]
    * eval.c (setup_exception): set backtrace locations for `bt_location'
      special attribute.
    * vm_backtrace.c (rb_backtrace_to_location_ary): added.
    * internal.h: ditto.
    * test/ruby/test_backtrace.rb: add a test for
      Exception#backtrace_locations.

  Modified files:
    trunk/ChangeLog
    trunk/error.c
    trunk/eval.c
    trunk/internal.h
    trunk/test/ruby/test_backtrace.rb
    trunk/vm_backtrace.c


More information about the ruby-cvs mailing list