The class / method hierarchy in Ruby files is parsed incorrectly if assigning 
the result of an `if` / `else` block:

![geany-incorrect](https://user-images.githubusercontent.com/9417744/35111123-2c8f0a08-fc83-11e7-9e46-e273e5a86f2d.png)

After removing the assignment, all methods are grouped under the enclosing 
class, as expected:

![geany-correct](https://user-images.githubusercontent.com/9417744/35111140-3a54dd66-fc83-11e7-9e99-f4ff76fff1f3.png)

Tested with the very latest state of the `master` branch (as of 2018-01-18), 
Arch Linux up to date. Might be related to #587.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1744

Reply via email to