-
Notifications
You must be signed in to change notification settings - Fork 33
use more precise structural inspection of types for ambiguity exclusions #327
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
base: master
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,6 +24,11 @@ include("preamble.jl") | |
| if broken | ||
| @test_broken num_ambiguities_ == num_ambiguities | ||
| else | ||
| if num_ambiguities_ != num_ambiguities | ||
| @show exclude | ||
| println(strout) | ||
| println(strerr) | ||
| end | ||
| @test num_ambiguities_ == num_ambiguities | ||
| end | ||
| end | ||
|
|
@@ -44,7 +49,7 @@ include("preamble.jl") | |
| check_testcase([PkgWithAmbiguities.ConcreteType], total - num_ambs_ConcreteType) | ||
|
|
||
| # exclude abstract supertype without callables and constructors | ||
| check_testcase([PkgWithAmbiguities.AbstractType], total) | ||
| check_testcase([PkgWithAmbiguities.AbstractType], total - num_ambs_SingletonType - num_ambs_ConcreteType) | ||
|
||
|
|
||
| # for ambiguities between abstract and concrete type callables, only one needs to be excluded | ||
| check_testcase( | ||
|
|
||
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How is this related to the rest of the changes in here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just debugging for the relevant tests if they change reporting