summaryrefslogtreecommitdiff
path: root/test/ruby/beginmainend.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-29 06:09:40 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-29 06:09:40 +0000
commit83cb605d69f20be5fe842a913e51d017f61cdc44 (patch)
treeb227250a931f8465854064c4860265d76a1974c9 /test/ruby/beginmainend.rb
parent6e221605373ff89fd52d08d5df86cfb0bd805de7 (diff)
downloadruby-83cb605d69f20be5fe842a913e51d017f61cdc44.tar.gz
* object.c (convert_type): [ruby-core:03845]
* eval.c (rb_funcall_rescue): new function. * object.c (rb_Array): avoid using rb_respond_to(). * object.c (rb_Integer): ditto. * eval.c (get_backtrace): no conversion for nil. * parse.y (reduce_nodes): empty body should return nil. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/beginmainend.rb')
-rw-r--r--test/ruby/beginmainend.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/ruby/beginmainend.rb b/test/ruby/beginmainend.rb
index f096b96fbc..646140dd22 100644
--- a/test/ruby/beginmainend.rb
+++ b/test/ruby/beginmainend.rb
@@ -28,11 +28,6 @@ END {
puts local_for_end2 # e2
}
-END {
- raise
- puts "should not be dumped"
-}
-
eval <<EOE
BEGIN {
puts "b3"