GNU bug report logs - #23815
24.5; Ruby indentation incorrect when class has a member called "module"

Previous Next

Package: emacs;

Reported by: <Jesper.Eskilson <at> iar.com>

Date: Tue, 21 Jun 2016 15:28:01 UTC

Severity: normal

Found in version 24.5

Fixed in version 25.1

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: <Jesper.Eskilson <at> iar.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 24.5;
 Ruby indentation incorrect when class has a member called "module"
Date: Tue, 21 Jun 2016 15:57:22 +0200
Hello,

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.

--
Jesper Eskilson
jesper.eskilson <at> iar.com




This bug report was last modified 8 years and 337 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.