[#27919] 1.8.4 Preview2 検証 — "URABE Shyouhei aka. mput" <root@...>

卜部です。

33 messages 2005/12/01

[#27997] 1.8.4 documents? — "URABE Shyouhei aka. mput" <root@...>

卜部です。

22 messages 2005/12/12
[#28017] Re: 1.8.4 documents? — Koji Arai <jca02266@...> 2005/12/13

新井です。

[#28082] ruby_1_8 Segmentation fault on Cygwin — yanagi@...

柳田です。

13 messages 2005/12/21
[#28083] Re: ruby_1_8 Segmentation fault on Cygwin — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2005/12/21

山本です。

[#28140] ia64-hpux11.23/socket.sl: this executable file can't load extension libraries (LoadError) — Tanaka Akira <akr@...17n.org>

HP-UX で HP aC++/ANSI C を使って作った ruby で、openssl や drb のテストをすると、

34 messages 2005/12/27
[#28141] Re: ia64-hpux11.23/socket.sl: this executable file can't load extension libraries (LoadError) — WATANABE Tetsuya <Tetsuya.WATANABE@...> 2005/12/28

渡辺哲也です。

[#28142] Re: ia64-hpux11.23/socket.sl: this executable file can't load extension libraries (LoadError) — Tanaka Akira <akr@...17n.org> 2005/12/28

In article <200512280307.jBS37nnj005909@pbsg500.nifty.com>,

[#28147] Re: ia64-hpux11.23/socket.sl: this executable file can't load extension libraries (LoadError) — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2005/12/28

山本です。

[#28149] Re: ia64-hpux11.23/socket.sl: this executable file can't load extension libraries (LoadError) — Tanaka Akira <akr@...17n.org> 2005/12/28

In article <20051228210640.13C71A10.ocean@m2.ccsnet.ne.jp>,

[#28151] Re: ia64-hpux11.23/socket.sl: this executable file can't load extension libraries (LoadError) — WATANABE Tetsuya <Tetsuya.WATANABE@...> 2005/12/29

渡辺哲也です。

[#28152] Re: ia64-hpux11.23/socket.sl: this executable file can't load extensionlibraries (LoadError) — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2005/12/29

山本です。

[#28153] Re: ia64-hpux11.23/socket.sl: this executable file can't load extensionlibraries (LoadError) — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2005/12/29

山本です。

[#28154] thread based generator.rb — Tanaka Akira <akr@...17n.org> 2005/12/29

In article <20051229114438.44D19F00.ocean@m2.ccsnet.ne.jp>,

[ruby-dev:28108] Re: 1.8.4 what remains?

From: Koji Arai <jca02266@...>
Date: 2005-12-24 02:03:46 UTC
List: ruby-dev #28108
新井です。

In message "[ruby-dev:28106] Re: 1.8.4 what remains?"
  on Sat, 24 Dec 2005 03:03:55 +0900,
  Koji Arai <jca02266@nifty.com> wrote:
> 新井です。
> 
> In message "[ruby-dev:28075] Re: 1.8.4 what remains?"
>   on Tue, 20 Dec 2005 14:37:12 +0900,
>   nobuyoshi nakada <nobuyoshi.nakada@ge.com> wrote:
> > なかだです。
> 
> > > #Tue Nov  1 14:20:11 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>
> > > #
> > > #	* eval.c (rb_call_super): should call method_missing if super is
> > > #	  called from Kernel method.
> > 
> > Kernelのメソッド内でsuperを呼んだ時に、存在しないsuperclassにア
> > クセスしようとするバグの修正。
> 
> これなのですが、具体的な再現スクリプトはありませんか?
> 
> 言葉どおりに
> 
> def foo
>   super
> end
> foo
> 
> とやっても特に 1.8.3 と 1.8.4 で変化はありません。

おっとこれは、[ruby-dev:28078] が再現スクリプトですね。

module Kernel
  def foo
    super
  end
  alias bar foo
end

bar

# => ruby 1.8.3 (2005-09-21) [i686-linux]
     -:3:in `bar': method `foo' called on terminated object (0xb7dbe970) (NotImplementedError)
     	from -:8
# => ruby 1.8.4 (2005-12-22) [i686-linux]
     -:3:in `bar'-:3: warning: too many arguments for format string
     : super: no superclass method `foo' (NoMethodError)
     	from -:8

alias しなくても良いのか。

module Kernel
  def foo
    super
  end
end

foo

# => ruby 1.8.3 (2005-09-21) [i686-linux]
     -:3:in `foo': method `foo' called on terminated object (0xb7e06970) (NotImplementedError)
     	from -:7
# => ruby 1.8.4 (2005-12-22) [i686-linux]
     -:3:in `foo'-:3: warning: too many arguments for format string
     : super: no superclass method `foo' (NoMethodError)
     	from -:7
# => ruby 1.9.0 (2005-12-21) [i686-linux]
     -:3:in `foo'-:3: warning: too many arguments for format string
     : super: no superclass method `foo' (NoMethodError)
     	from -:7

なるほど

--
新井康司 (Koji Arai)

In This Thread

Prev Next