Kero van Gelder <kero / a26074.upc-a.chello.nl> wrote in message news:<20020628200654.GA1647 / chmeee>...

I think ArgumentError will point to the beginning of a method call if
the error is w/in a method call.  ie. you'd see similar behavior if
the code was something like

packages.set( 
   Package.new("ruby-dev", "lib", "extra"),
   Package.new("ruby-tk", "lib", "extra"),
   Package.new("ruby-doc", "man", "extra"),
   Package.new("ruby", "interpreter")
)

In general the parser's error messages could use some work, but by the
time you feel adventurous enough to look into it you've gotten used to
them :-)

A friend of mine, Tom Clarke was working on fixing some of these -- he
thought "NameError" in particular was a confusing message.

~ Patrick