#842: Can't catch the exception of SecurityError Level 4. ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Comment(by martinlagardette@…): It's especially evil because `$SAFE` looks like a global var but doesn't behave like one: {{{ #!ruby $SAFE = 1 p $SAFE lambda { $SAFE = 3 }.call p $SAFE puts "-----" $RANDOM = 1 p $RANDOM lambda { $RANDOM = 3 }.call p $RANDOM }}} {{{ $> ruby19 test_safe.rb 1 1 ----- 1 3 }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/842#comment:2> MacRuby <http://macruby.org/>