From: Mat Schaffer Date: 2006-07-29T10:08:49+09:00 Subject: Wild ideas: Finding a missing 'end' I was just reading a nuby question from the rails list and I had this thought: class MyClass def foo if true end end This code generates a parse error at the last line. Now most languages do this, so it's not a big deal. But how frickin cool would it be if a future version of ruby looked at the indenting and made a guess as to where the missing end/} might be. Like: test.rb:5: parse error, unexpected $, expecting kEND. Did you miss an "end" on line 4? Maybe people have thought about this already. I'm just thinking out loud here, really. -Mat