bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#50079: 27.2; imenu doesn't work with inline access modifier in ruby


From: Dmitry Gutov
Subject: bug#50079: 27.2; imenu doesn't work with inline access modifier in ruby
Date: Tue, 17 Aug 2021 04:09:07 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

Version: 28.1

On 16.08.2021 22:20, christopher flöß via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote:
While editing a ruby file, invoking imenu with the following class
definition:

class Blub
   def hi
     "Hi!"
   end

   def bye
     "Bye!"
   end

   private def hiding
     "You can't see me"
   end
end

fails to list the private method `hiding`. This is valid ruby and the
method definition has a so-called inline access modifier
(`private`).

Thanks for the report, should be fixed now in commit 9e2cc406d3.

No solution for Emacs 27, but I suppose you could patch your local version.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]