Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geany list symbols multiple times under Haskell #1874

Closed
ChristopherKing42 opened this issue Jun 9, 2018 · 3 comments
Closed

Geany list symbols multiple times under Haskell #1874

ChristopherKing42 opened this issue Jun 9, 2018 · 3 comments
Labels

Comments

@ChristopherKing42
Copy link

ChristopherKing42 commented Jun 9, 2018

Given the file

func False = True
func True = False

Geany lists the function func twice under the symbols list. The above code only defines one function.

Note that although this appears to be an edge case, it is not. It is quite normal in Haskell and other functional programming languages to define functions using multiple lines like above.

@elextr
Copy link
Member

elextr commented Jun 9, 2018

A bit more information and an example would be useful, also version of Geany.

@elextr
Copy link
Member

elextr commented Jun 9, 2018

Geany is pointing out all the places the function is defined, thats intentional. The same happens with languages with overloading.

@elextr elextr added the invalid label Jun 9, 2018
@ChristopherKing42
Copy link
Author

Okay, at least it isn't a bug. I would prefer if had a range of values (due to how common multiline definitions are in Haskell), but that's just me.

@elextr elextr closed this as completed Jun 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants