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

Change ambiguity warnings to errors and delay until called #7954

Closed
quinnj opened this issue Aug 11, 2014 · 3 comments
Closed

Change ambiguity warnings to errors and delay until called #7954

quinnj opened this issue Aug 11, 2014 · 3 comments

Comments

@quinnj
Copy link
Member

quinnj commented Aug 11, 2014

As mentioned in the Speed vs. Correctness JuliaCon presentation, it was generally thought to be a good idea to change ambiguity warnings to errors and to change them from being thrown at compile time to call-time (runtime).

Related to quite a number of open issues:

@JeffBezanson
Copy link
Member

dup of #6190

@quinnj
Copy link
Member Author

quinnj commented Aug 11, 2014

Ah, thanks. I should have gone to the 2nd page of search results for "ambiguity" ;)

@JeffBezanson
Copy link
Member

Yeah there are a lot of those :)

This will also fix #270, since there won't be a warning any more, and we can allow ambiguity-resolving definitions to be added at any time.

However we will also have to make ambiguity detection more accurate, since more will be at stake than just an annoying message.

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

No branches or pull requests

2 participants