> On Mon, 10 Apr 2000, Hugh Sasse Staff Elec Eng wrote: > > On Mon, 10 Apr 2000, Yukihiro Matsumoto wrote: > > > It won't work with if/while/while/until modifiers. > > > if cond1 > > > ... > > > end if cond2 > > > is perfectly legal Ruby program. In fact, before introducing > > > modifiers, Ruby supported optional end tags. > > > matz. > > > Could it be done without the space: > > > > def thingy > > ... > > enddef ... > So suddenly it came to me. Why not follow this model with Ruby too? > We should make Ruby -w to read comments and check for > > def thingy > ... > end #def Uh, I hate to "me too", but I rather liked Dave's idea of just improving the error msgs to say '... in definition of class Foo'. Not only would this solve the problem, but the general improvement in error reporting would be a big win for everything else too.