|
From: | Dmitry Gutov |
Subject: | bug#23815: 24.5; Ruby indentation incorrect when class has a member called "module" |
Date: | Tue, 21 Jun 2016 19:44:10 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 |
Version: 25.1 Hi Jesper, On 06/21/2016 04:57 PM, Jesper.Eskilson@iar.com wrote:
If a ruby file contains the following (valid) Ruby code: class Foo def foo() @module = "" end end The Ruby emacs mode fails to realize that @module is a member, and instead thinks it is a module.
It looks fixed in emacs-25, although I can't fixed the exact commit that did it now.
Please try out a pre-release snapshot of Emacs 25 when you have the chance.
[Prev in Thread] | Current Thread | [Next in Thread] |