Koichi Sasada

  • Registered on: 05/28/2008
  • Last connection: 05/26/2015

Projects

Activity

Reported issues: 110

Today

05:36 AM Ruby trunk Bug #11182: Refinement with alias causes strange behavior
My last explanation was wrong.
I wrote pictures again.
![(3)](3.PNG)
![(4)](4.PNG)
With model (1), it seems...
05:15 AM Ruby trunk Bug #11182: Refinement with alias causes strange behavior
I can consider two models (1) and (2) the following pictures show.
![(1)](1.png)
![(2)](2.png)
I believe the...

05/26/2015

07:08 PM Ruby trunk Bug #11182: Refinement with alias causes strange behavior
Simplify example:
```ruby
class C
def foo
p "C"
end
end
module M
refine C do
def foo
...
06:59 PM Ruby trunk Bug #11182: Refinement with alias causes strange behavior
> By D.new.bar, not foo but bar is searched in refinements, so M#C#foo cannot be found.
I've fixed alias to use C#fo...
09:15 AM Ruby trunk Bug #11173: inter class/module alias causes "no superclass method"
「この問題は trivial なので、2.3 では直すけど、2.2 以前は直さない」、ってのは許されるものでしょうか。
というのも、今メソッドディスパッチの部分を大きく書き直しており、別々のパッチを書かないといけなさそうなんです...
08:28 AM Ruby trunk Bug #11183 (Open): Cumulative error on Complex::I ** 100000000000000000000000000000000
```
p Complex::I ** 100000000000000000000000000000000
```
が、32bit 環境だと、
```
ruby 2.3.0dev (2015-05-21 trunk ...
08:20 AM Ruby trunk Bug #11182 (Open): Refinement with alias causes strange behavior
The following script causes strange behavior.
```ruby
class C
def foo
p "C"
end
end
module M
re...

05/23/2015

08:15 PM Ruby trunk Bug #11173: inter class/module alias causes "no superclass method"
似たような話なんですが、
```ruby
module M0
private
def foo
p M0
end
end
class C0
def foo
p C0
en...
06:58 PM Ruby trunk Bug #11173 (Open): inter class/module alias causes "no superclass method"

```ruby
class C0
def foo
p :C0
end
end
module M0
def foo
p :M0
super
end
end
...
04:36 PM Ruby trunk Revision 50617: * debug.c (ruby_debug_print_id): use rb_id2name() for fprintf().

Also available in: Atom