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

comptime error for mismatched types for some array functions #1636

Merged
merged 2 commits into from Apr 13, 2024
Merged

Conversation

abhizer
Copy link
Contributor

@abhizer abhizer commented Apr 12, 2024

Is this a user-visible change (yes/no): yes

* update the docs to say that if the types don't match, the result is
  undefined
* fixes: #1475

Signed-off-by: Abhinav Gyawali <22275402+abhizer@users.noreply.github.com>
@abhizer abhizer requested a review from mihaibudiu April 12, 2024 22:19
Signed-off-by: Abhinav Gyawali <22275402+abhizer@users.noreply.github.com>
Copy link
Collaborator

@mihaibudiu mihaibudiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you deleted a test too many

@@ -71,21 +71,6 @@ public void testLeft() {
\s""");
}

@Test
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this test looks fine, why delete it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the just go ahead and merge it when it passes the CI

Comment on lines -1760 to -1762
@Test
public void testArraysOverlap() {
this.qs("""
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved to ArrayFunctionsTests.java.

@abhizer abhizer merged commit 32bdf72 into main Apr 13, 2024
3 checks passed
@abhizer abhizer deleted the issue1475 branch April 13, 2024 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants