[macruby-changes] [MacRuby/MacRuby] 697f85: check whether is tainted

GitHub noreply at github.com
Wed Jan 25 21:26:03 PST 2012


  Branch: refs/heads/master
  Home:   https://github.com/MacRuby/MacRuby
  Commit: 697f85a475dc6b5278267ef82c3795284df026ff
      https://github.com/MacRuby/MacRuby/commit/697f85a475dc6b5278267ef82c3795284df026ff
  Author: Watson <watson1978 at gmail.com>
  Date:   2012-01-25 (Wed, 25 Jan 2012)

  Changed paths:
    M file.c

  Log Message:
  -----------
  check whether is tainted


  Commit: 4144e6ab80c99c04c6c4a14065d46c1bbf5c662b
      https://github.com/MacRuby/MacRuby/commit/4144e6ab80c99c04c6c4a14065d46c1bbf5c662b
  Author: Watson <watson1978 at gmail.com>
  Date:   2012-01-25 (Wed, 25 Jan 2012)

  Changed paths:
    M eval.c

  Log Message:
  -----------
  single argument to raise may be string compatible object


  Commit: 8bcbdc319972d19640df487973d4ebdabaedf2b2
      https://github.com/MacRuby/MacRuby/commit/8bcbdc319972d19640df487973d4ebdabaedf2b2
  Author: Watson <watson1978 at gmail.com>
  Date:   2012-01-25 (Wed, 25 Jan 2012)

  Changed paths:
    M eval.c

  Log Message:
  -----------
  check message of exception

Test Script:
----
require 'test/unit/assertions.rb'
include Test::Unit::Assertions

class ZeroDivisionError
  def self.new(message)
    42
  end
end

assert_raise(TypeError){ 1/0 }


Compare: https://github.com/MacRuby/MacRuby/compare/b6338e5...8bcbdc3


More information about the macruby-changes mailing list