[#1611] set_trace_func/Array#fetch error — "Nathaniel Talbott" <nathaniel@...>

I've reduced the error I reported in ruby-talk:84013 to the following code:

17 messages 2003/10/11

arity bug?

From: "Christoph" <chr_news@...>
Date: 2003-10-05 16:29:30 UTC
List: ruby-core #1579
Hi,

the following (with (2003-09-18) [i386-mingw32]
and (2003-10-03) [i386-mswin32])

---
p proc {|| 13 }.arity  # 0
p proc { 13 }.arity    # -1
---

looks like a bug to me?



/Christoph

In This Thread

Prev Next