diff options
| author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-19 21:39:08 +0000 |
|---|---|---|
| committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-19 21:39:08 +0000 |
| commit | 1043ac415c38ad49e6b0d07877c41f3ab2c08834 (patch) | |
| tree | 651e8f1515fed4fb052aac9d9c4d0d4b791345f4 /bootstraptest | |
| parent | 535cf35c1dd7ad59c027312667df5cc6b835865d (diff) | |
* compile.c (iseq_compile_each): add pop after throw as return.
* bootstraptest/test_knownbug.rb, test_syntax.rb: move resolved test.
* vm_core.h, iseq.c, compile.h: add debug output code.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
| -rw-r--r-- | bootstraptest/test_knownbug.rb | 4 | ||||
| -rw-r--r-- | bootstraptest/test_syntax.rb | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index 30a83259f..2108a5916 100644 --- a/bootstraptest/test_knownbug.rb +++ b/bootstraptest/test_knownbug.rb @@ -31,10 +31,6 @@ assert_equal 'ok', %q{ end } -assert_normal_exit %q{ - eval "while true; return; end rescue p $!" -}, '[ruby-dev:31663]' - assert_equal 'ok', %q{ 1.times{ eval("break") diff --git a/bootstraptest/test_syntax.rb b/bootstraptest/test_syntax.rb index 0ba8f658f..e407d7cf5 100644 --- a/bootstraptest/test_syntax.rb +++ b/bootstraptest/test_syntax.rb @@ -641,5 +641,8 @@ assert_equal 'true', %q{ class C; def !@; true; end; end !C.new } +assert_normal_exit %q{ + eval "while true; return; end rescue p $!" +}, '[ruby-dev:31663]' |
