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

A warning for unused but conflicting procs would be nice #6393

Closed
StefanSalewski opened this issue Sep 16, 2017 · 5 comments
Closed

A warning for unused but conflicting procs would be nice #6393

StefanSalewski opened this issue Sep 16, 2017 · 5 comments

Comments

@StefanSalewski
Copy link

proc x(): int = 7
proc x(): string = "strange"

#var h: int = x() # does not compile
# but why is there no warning for the two procs?
# As they make no sense. (Reported by a gintro user)
@dom96
Copy link
Contributor

dom96 commented Sep 18, 2017

@Araq Should 13c6037 be merged into devel?

@Araq
Copy link
Member

Araq commented Sep 20, 2017

Can't, it needs to be fixed slightly differently.

@Araq
Copy link
Member

Araq commented Apr 21, 2018

This is actually implemented, but doesn't work as expected. Since this is annoying me on a personal level, showstopper bug.

@Araq Araq added Showstopper and removed Feature labels Apr 21, 2018
@Araq Araq closed this as completed in 14e496f Apr 21, 2018
@zah
Copy link
Member

zah commented Apr 23, 2018

Well, I want to implement return type overloading eventually. Should we track this as a separate feature issue?

@Araq
Copy link
Member

Araq commented Apr 23, 2018

Return type overloading would be an RFC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants