From: ts Date: 2000-12-30T17:18:45+09:00 Subject: [ruby-talk:8349] Re: Inexplicable core dump [long] >>>>> "N" == Nathaniel Talbott writes: N> $ make N> ./win32/resource.rb:17: [BUG] unknown node type 3 Try this patch (but wait confirmation from matz) pigeon% diff -u eval.c~ eval.c --- eval.c~ Sat Dec 30 08:57:54 2000 +++ eval.c Sat Dec 30 09:09:23 2000 @@ -3526,7 +3526,8 @@ if (!node) { result = Qnil; } - else if (nd_type(node) == NODE_CFUNC) { + else if (nd_type(node) == NODE_CFUNC || + nd_type(node) == NODE_IFUNC) { if (val == Qundef) val = rb_ary_new2(0); result = (*node->nd_cfnc)(val, node->nd_tval, self); } pigeon% with your example : pigeon% ruby ConsoleTestRunner.rb TS_R2Unit Loaded suite TS_R2Unit Started... ... Error occurred in testAssertThrowsException(TC_Assertions): NameError: undefined method `equals' for RuntimeError:Class ./Assertions.rb:58:in `assertThrowsException' ./Assertions.rb:53:in `assert' ./Assertions.rb:53:in `assertThrowsException' ./TF_Assertions.rb:28:in `successfulAssertThrowsException' ./TC_Assertions.rb:48:in `testAssertThrowsException' ./TC_Assertions.rb:48:in `fails?' ./TC_Assertions.rb:11:in `catch' ./TC_Assertions.rb:11:in `fails?' ./TC_Assertions.rb:48:in `testAssertThrowsException' ./TC_Assertions.rb:48:in `assert' ./TC_Assertions.rb:48:in `testAssertThrowsException' ./TestCase.rb:33:in `send' ./TestCase.rb:33:in `run' ./TestCase.rb:32:in `catch' ./TestCase.rb:32:in `run' ./TestSuite.rb:10:in `run' ./TestSuite.rb:6:in `each' ./TestSuite.rb:6:in `run' ./TS_R2Unit.rb:23:in `run' ./TS_R2Unit.rb:17:in `each' ./TS_R2Unit.rb:17:in `run' ./TestRunnerMediator.rb:30:in `runSuite' ConsoleTestRunner.rb:28:in `startMediator' ConsoleTestRunner.rb:11:in `start' ConsoleTestRunner.rb:6:in `run' ConsoleTestRunner.rb:49 ..... Error occurred in testAssertArguments(TC_Assertions): NameError: uninitialized constant TC_Assertions::ArgumentException ./TC_Assertions.rb:36:in `testAssertArguments' ./TestCase.rb:33:in `send' ./TestCase.rb:33:in `run' ./TestCase.rb:32:in `catch' ./TestCase.rb:32:in `run' ./TestSuite.rb:10:in `run' ./TestSuite.rb:6:in `each' ./TestSuite.rb:6:in `run' ./TS_R2Unit.rb:23:in `run' ./TS_R2Unit.rb:17:in `each' ./TS_R2Unit.rb:17:in `run' ./TestRunnerMediator.rb:30:in `runSuite' ConsoleTestRunner.rb:28:in `startMediator' ConsoleTestRunner.rb:11:in `start' ConsoleTestRunner.rb:6:in `run' ConsoleTestRunner.rb:49 ...................................................................... Finished in 0.033155 seconds. 17 runs, 59 assertions, 0 failures, 2 errors pigeon% Guy Decoux