From: "Peña, Botp" Date: 2004-10-08T12:45:11+09:00 Subject: Re: quality of error messages Yukihiro Matsumoto [mailto:matz@ruby-lang.org] wrote: > |> % ./script.rb > |> script.rb:6: warning: inconsistent indentation level. > |> script.rb:13: parse error > |> > |> This should make it easy to find such errors. > > |That seems like a nice idea to me. This would be nearly the > same as the > |autoindenter so, only that it does not indent but spit out warnings. > > I'm afraid that it might cause tab-space indentation war like > in the Python community. The issue is much smaller though, > since it is not mandatory. can we extend -c (check syntax) command so that it also checks for missing/broken def/end pairs? Right now ruby -c gives only a syntax error message wc is not so helpful (especially for python newcomers). > > matz. kind regards -botp