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

Simplify tests with custom args in CompilationTests #18376

Merged
merged 1 commit into from
Aug 15, 2023

Conversation

nicolasstucki
Copy link
Contributor

No description provided.

@nicolasstucki nicolasstucki self-assigned this Aug 9, 2023
@@ -1,3 +1,5 @@
// scalac: -Xfatal-warnings
Copy link
Contributor

Choose a reason for hiding this comment

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

Not a zealot (much), but -Werror is more sleek and modern.

Possible warning options include:
         -Wconf  Configure compiler warnings.
        -Werror  Fail the compilation if there are any warnings.

My missed opportunity today on a scala 2 PR, for which I am overcompensating:

image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Given the size of this PR I prefer to keep all flags identical. We can refactor the flags after this PR.

@nicolasstucki nicolasstucki marked this pull request as ready for review August 10, 2023 11:18
@nicolasstucki
Copy link
Contributor Author

The only flag modification I did was to add scalajs: --skip on tests that use reflection to test that some erased members are not in the bytecode.

@dwijnand dwijnand merged commit 67e6dba into scala:main Aug 15, 2023
17 checks passed
@dwijnand dwijnand deleted the simplify-custom-args-tests branch August 15, 2023 08:35
Kordyjan added a commit that referenced this pull request Dec 8, 2023
…#19166)

Backports #18376 to the LTS branch.

PR submitted by the release tooling.
[skip ci]
@Kordyjan Kordyjan added this to the 3.3.2 milestone Dec 14, 2023
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.

4 participants