From: Brian Candler Date: 2004-10-08T20:47:34+09:00 Subject: Re: quality of error messages On Fri, Oct 08, 2004 at 06:56:39PM +0900, "Pe?a, Botp" wrote: > >[snip valid example] > > Since class definitions can occur within other classes (very > > useful), and 'def' can occur within another 'def' (not so > > useful for me), that's how it gets parsed. > > yes, you're right. markus also explained sample in expressions too. > > but the compiler does get a missing "end", right? But it does not know for > which begin.. I'd be a happing w "missing end" message though during a > syntax check.. Do you mean change ert.rb:24: syntax error to ert.rb:24: missing 'end' ? It could help people who've seen this error for the first time, I guess. Regards, Brian.