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

Filter the set of overloads before checking them #526

Merged
merged 1 commit into from
May 7, 2024
Merged

Conversation

Alasdair
Copy link
Collaborator

@Alasdair Alasdair commented May 7, 2024

Construct a tree of possible overloadings whenever we find an E_app node that is overloaded, then filter any which are not possible. We do this by doing a simple check on the shape of the argument types. If they can't possibly match then we discard that overload.

Copy link

github-actions bot commented May 7, 2024

Test Results

    9 files  ±0     20 suites  ±0   0s ⏱️ ±0s
  624 tests +2    624 ✅ +2  0 💤 ±0  0 ❌ ±0 
2 005 runs  +6  2 004 ✅ +6  1 💤 ±0  0 ❌ ±0 

Results for commit 7c156ff. ± Comparison against base commit 3fde1d5.

♻️ This comment has been updated with latest results.

@Alasdair Alasdair force-pushed the overload_filter branch from b93b0f1 to 0feae07 Compare May 7, 2024 20:01
Construct a tree of possible overloadings whenever we find an E_app node
that is overloaded, then filter any which are not possible. We do this by doing
a simple check on the shape of the argument types. If they can't possibly match
then we discard that overload.
@Alasdair Alasdair force-pushed the overload_filter branch from 0feae07 to 7c156ff Compare May 7, 2024 20:08
@Alasdair Alasdair merged commit 8f860d9 into sail2 May 7, 2024
9 checks passed
@Alasdair Alasdair deleted the overload_filter branch May 7, 2024 20:22
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

Successfully merging this pull request may close these issues.

1 participant