Project

General

Profile

« Previous | Next » 

Revision 4f24f3ea

Added by yui-knk (Kaneko Yuichiro) about 3 years ago

Treat "end" as reserved word with consideration of indent

"end" after "." or "::" is treated as local variable or method,
see EXPR_DOT_bit for detail.
However this "changes" where bar method is defined. In the example
below it is not module Z but class Foo.

module Z class Foo foo. end def bar end end 

[Feature #19013]