#876 Function list doesn't ignore Haskell comments inside records

v1.23
closed-fixed
Filetypes (68)
5
2012-09-17
2012-07-30
Anonymous
No

When declaring a data record like

data Some = Some {
-- comment
field :: Int
}

the "Functions" list on Symbols tab of Sidebar contains "- [2]" instead of "field [3]".
Using block comments {- -} leads to "{ [2]".
The "Go to Tag Definition", "Go to Tag Declaration" or Ctrl + Mouse Click also doesn't work.

Bug is reproduced on Win7 Pro x86_64 with these versions of Geany: v0.22, v1.22, Night build 5110fab (2012-07-30)
Also, Geany 0.22 under Ubuntu 12.04 x86_64 is affected.

Discussion

  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-07-30

    screenshot + sample code 1.hs

     
  • Colomban Wendling

    • assigned_to: nobody --> colombanw
    • status: open --> open-accepted
     
  • Colomban Wendling

    Now fixed in Git, thanks for reporting.

     
  • Colomban Wendling

    • status: open-accepted --> closed-fixed
     
  • Colomban Wendling

    • milestone: --> v1.23
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks