[#9869] a block argument within a block which argument has the same name leaks — <noreply@...>

Bugs item #7680, was opened at 2007-01-08 22:53

34 messages 2007/01/08
[#9871] Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks — Yukihiro Matsumoto <matz@...> 2007/01/08

Hi,

[#9872] Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks — Evan Webb <evan@...> 2007/01/08

On Jan 8, 2007, at 2:30 PM, Yukihiro Matsumoto wrote:

[#9873] Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks — Yukihiro Matsumoto <matz@...> 2007/01/08

Hi,

[#9876] Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks — dblack@... 2007/01/09

Hi --

[#9878] Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks — Yukihiro Matsumoto <matz@...> 2007/01/09

Hi,

[#9879] Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks — dblack@... 2007/01/09

Hi --

[#9880] Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks — Yukihiro Matsumoto <matz@...> 2007/01/09

Hi,

[#9882] Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks — Evan Phoenix <evan@...> 2007/01/09

[#9885] Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks — Yukihiro Matsumoto <matz@...> 2007/01/09

Hi,

[#9887] Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks — Evan Phoenix <evan@...> 2007/01/09

[#9888] Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks — Charles Oliver Nutter <charles.nutter@...> 2007/01/09

Evan Phoenix wrote:

[#9892] Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks — Yukihiro Matsumoto <matz@...> 2007/01/09

Hi,

[#9899] Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks — Charles Oliver Nutter <charles.nutter@...> 2007/01/10

Yukihiro Matsumoto wrote:

[#9904] Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks — Yukihiro Matsumoto <matz@...> 2007/01/10

Hi,

[#9960] Scoping and locating definitions — Jos Backus <jos@...>

Consider the following:

17 messages 2007/01/18
[#9964] Re: Scoping and locating definitions — Pit Capitain <pit@...> 2007/01/19

Jos Backus schrieb:

[#9966] Re: Scoping and locating definitions — Jos Backus <jos@...> 2007/01/19

On Fri, Jan 19, 2007 at 06:40:03PM +0900, Pit Capitain wrote:

[#9972] Re: Scoping and locating definitions — Jos Backus <jos@...> 2007/01/19

On Sat, Jan 20, 2007 at 02:18:19AM +0900, Jos Backus wrote:

[#9996] new method dispatch rule (matz' proposal) — SASADA Koichi <ko1@...>

Hi,

50 messages 2007/01/23
[#10002] Re: new method dispatch rule (matz' proposal) — Daniel DeLorme <dan-ml@...42.com> 2007/01/23

SASADA Koichi wrote:

[#10003] Re: new method dispatch rule (matz' proposal) — Yukihiro Matsumoto <matz@...> 2007/01/23

Hi,

[#10004] Re: new method dispatch rule (matz' proposal) — James Edward Gray II <james@...> 2007/01/23

On Jan 23, 2007, at 7:41 AM, Yukihiro Matsumoto wrote:

[#10017] Re: new method dispatch rule (matz' proposal) — Daniel DeLorme <dan-ml@...42.com> 2007/01/24

Yukihiro Matsumoto wrote:

[#10018] Re: new method dispatch rule (matz' proposal) — Yukihiro Matsumoto <matz@...> 2007/01/24

Hi,

[#10024] Re: new method dispatch rule (matz' proposal) — Daniel DeLorme <dan-ml@...42.com> 2007/01/24

Yukihiro Matsumoto wrote:

[#10027] Re: new method dispatch rule (matz' proposal) — Yukihiro Matsumoto <matz@...> 2007/01/24

Hi,

[#10048] Re: new method dispatch rule (matz' proposal) — Evan Phoenix <evan@...> 2007/01/25

The more this discussion goes on, the more I worry that Joe Q Public

[#10019] stable branch policy & schedule for 1.8.6 — "Akinori MUSHA" <knu@...>

Core developers,

29 messages 2007/01/24
[#10021] Re: stable branch policy & schedule for 1.8.6 — Charles Oliver Nutter <charles.nutter@...> 2007/01/24

Akinori MUSHA wrote:

[#10032] Re: stable branch policy & schedule for 1.8.6 — Joel VanderWerf <vjoel@...> 2007/01/24

Charles Oliver Nutter wrote:

[#10085] Collaborative Ruby Language Specification — "John Lam (CLR)" <jflam@...>

Hi Everyone,

36 messages 2007/01/28
[#10108] Re: Collaborative Ruby Language Specification — Charles Oliver Nutter <charles.nutter@...> 2007/01/29

M. Edward (Ed) Borasky wrote:

[#10112] Re: Collaborative Ruby Language Specification — "Eustaquio Rangel de Oliveira Jr." <eustaquiorangel@...> 2007/01/30

-----BEGIN PGP SIGNED MESSAGE-----

[#10114] add usage of uri.userinfo to open-uri.rb — <noreply@...>

Patches item #8309, was opened at 2007-01-30 15:25

16 messages 2007/01/30
[#10131] Re: [ ruby-Patches-8309 ] add usage of uri.userinfo to open-uri.rb — Yukihiro Matsumoto <matz@...> 2007/01/31

[#10132] Re: [ ruby-Patches-8309 ] add usage of uri.userinfo to open-uri.rb — Paulo Kh <paulo.koch@...> 2007/01/31

On 2007/01/31, at 06:07, Yukihiro Matsumoto wrote:

[#10137] Re: [ ruby-Patches-8309 ] add usage of uri.userinfo to open-uri.rb — Yukihiro Matsumoto <matz@...> 2007/01/31

Hi,

[#10139] Re: [ ruby-Patches-8309 ] add usage of uri.userinfo to open-uri.rb — Sam Roberts <sroberts@...> 2007/01/31

On Thu, Feb 01, 2007 at 01:19:34AM +0900, Yukihiro Matsumoto wrote:

[#10143] Re: [ ruby-Patches-8309 ] add usage of uri.userinfo to open-uri.rb — Yukihiro Matsumoto <matz@...> 2007/02/01

Hi,

BUG: ruby-yarv 1.9 undefined method `close' for nil:NilClass in ensure

From: ville.mattila@...
Date: 2007-01-04 19:12:41 UTC
List: ruby-core #9854
Hello, 

irb(main):003:0* begin 
irb(main):004:1* foo = File.open("foo")
irb(main):005:1> ensure
irb(main):006:1* foo.close
irb(main):007:1> end
NoMethodError: undefined method `close' for nil:NilClass
        from (irb):6:in `ensure in irb_binding'
        from (irb):6
        from /usr/local/ruby-1.9/lib/ruby/1.9/irb.rb:150:in `block (2 
levels) in eval_input'
        from /usr/local/ruby-1.9/lib/ruby/1.9/irb.rb:259:in 
`signal_status'
        from /usr/local/ruby-1.9/lib/ruby/1.9/irb.rb:147:in `block in 
eval_input'
        from /usr/local/ruby-1.9/lib/ruby/1.9/irb.rb:146:in `eval_input'
        from /usr/local/ruby-1.9/lib/ruby/1.9/irb.rb:70:in `block in 
start'
        from /usr/local/ruby-1.9/lib/ruby/1.9/irb.rb:69:in `catch'
        from /usr/local/ruby-1.9/lib/ruby/1.9/irb.rb:69:in `start'
        from /usr/local/ruby-1.9/bin/irb:13:in `<main>'
irb(main):008:0> quit
mulperi@mulperi-desktop:/usr/local/src/ruby-libs/rubygems-0.9.0$ ruby -v
ruby 1.9.0 (2007-01-04 patchlevel 0) [i686-linux]


Also 
make check fails for me as follows:

make check
not ok assignment 90 -- ./sample/test.rb:137:in `block in <main>'
not ok assignment 91 -- ./sample/test.rb:138:in `block in <main>'
not ok assignment 92 -- ./sample/test.rb:139:in `block in <main>'
not ok assignment 93 -- ./sample/test.rb:140:in `block in <main>'
not ok assignment 94 -- ./sample/test.rb:141:in `block in <main>'
not ok assignment 95 -- ./sample/test.rb:142:in `block in <main>'
not ok assignment 110 -- ./sample/test.rb:159:in `block in <main>'
not ok assignment 117 -- ./sample/test.rb:167:in `block in <main>'
not ok assignment 118 -- ./sample/test.rb:168:in `block in <main>'
not ok assignment 119 -- ./sample/test.rb:169:in `block in <main>'
not ok assignment 120 -- ./sample/test.rb:170:in `block in <main>'
not ok assignment 122 -- ./sample/test.rb:172:in `block in <main>'
not ok assignment 123 -- ./sample/test.rb:173:in `block in <main>'
not ok assignment 124 -- ./sample/test.rb:174:in `block in <main>'
not ok assignment 145 -- ./sample/test.rb:198:in `block in <main>'
not ok assignment 209 -- ./sample/test.rb:271:in `block in <main>'
not ok assignment 217 -- ./sample/test.rb:285:in `<main>'
not ok assignment 218 -- ./sample/test.rb:286:in `<main>'
not ok assignment 219 -- ./sample/test.rb:287:in `<main>'
not ok iterator 16 -- ./sample/test.rb:959:in `<main>'
not ok iterator 17 -- ./sample/test.rb:961:in `<main>'
not ok iterator 22 -- ./sample/test.rb:968:in `block in <main>'
not ok iterator 26 -- ./sample/test.rb:974:in `block in <main>'
not ok iterator 27 -- ./sample/test.rb:975:in `block in <main>'
not ok iterator 31 -- ./sample/test.rb:979:in `block in <main>'
not ok iterator 32 -- ./sample/test.rb:980:in `block in <main>'
not ok iterator 34 -- ./sample/test.rb:983:in `block in <main>'
not ok iterator 35 -- ./sample/test.rb:984:in `block in <main>'
not ok iterator 47 -- ./sample/test.rb:1035:in `<main>'
not ok iterator 49 -- ./sample/test.rb:1037:in `<main>'
not ok iterator 50 -- ./sample/test.rb:1038:in `<main>'
not ok iterator 63 -- ./sample/test.rb:1058:in `<main>'
not ok iterator 65 -- ./sample/test.rb:1060:in `<main>'
not ok iterator 82 -- ./sample/test.rb:1127:in `<main>'
not ok iterator 87 -- ./sample/test.rb:1166:in `<main>'
not ok iterator 88 -- ./sample/test.rb:1173:in `<main>'
not ok iterator 90 -- ./sample/test.rb:1186:in `<main>'
not ok iterator 92 -- ./sample/test.rb:1205:in `<main>'
not ok iterator 94 -- ./sample/test.rb:1223:in `<main>'
not ok iterator 95 -- ./sample/test.rb:1232:in `<main>'
not ok iterator 96 -- ./sample/test.rb:1242:in `<main>'
not ok iterator 98 -- ./sample/test.rb:1260:in `<main>'
not ok iterator 101 -- ./sample/test.rb:1280:in `<main>'
not ok iterator 102 -- ./sample/test.rb:1281:in `<main>'
not ok/test: 857 failed 44
test failed

In This Thread

Prev Next