[ruby-talk:02397] Could missing 'end' be reported better?

From: mrilu <mrilu@...>
Date: 2000-04-08 15:24:38 UTC
List: ruby-talk #2397
I'm not sure one could easily parse, or moreover report, this error better.

class Foo
  def bar
    p "missing end at next line"
#  end
end

k = Foo.new()
k.bar()
# causes 'sample.rb:9: parse error' here, how informative, isn't it?


In This Thread

Prev Next