Skip to content

Conversation

hamzaremmal
Copy link
Member

Changes to parameterless/empty parameter list such that the code follows the specification.

NOTE: This code shouldn't have compiled in the first place. I'm raising an issue as soon as I finish what I'm focusing on.

@hamzaremmal hamzaremmal requested a review from sjrd May 20, 2025 14:37
@hamzaremmal hamzaremmal changed the title chore: fix type of some methods of Iterator chore: fix parameterless calls to functions May 20, 2025
@@ -245,7 +245,7 @@ class SettingsTests {
assertNotEquals(file1StateBefore, String(Files.readAllBytes(file1)))
assertEquals(file2StateBefore, String(Files.readAllBytes(file2)))

}(Files.deleteIfExists(_), Files.deleteIfExists(_))
}(using Files.deleteIfExists(_), Files.deleteIfExists(_))
Copy link
Member Author

Choose a reason for hiding this comment

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

This was a warning, but we do not enable -Werror in the test. Unfortunately, this will change from implicit params to contextual params with the new library. Hence, I'm anticipating this error and I'm fixing it here.

@hamzaremmal hamzaremmal enabled auto-merge May 20, 2025 14:42
@hamzaremmal hamzaremmal merged commit baac46c into scala:main May 20, 2025
28 checks passed
@hamzaremmal hamzaremmal deleted the drop-illegal-code branch May 20, 2025 17:39
@WojciechMazur WojciechMazur added this to the 3.7.2 milestone Jun 18, 2025
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.

3 participants