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

Enable fatal warnings and fix them all across codebase #457

Merged
merged 12 commits into from
Mar 11, 2023

Conversation

lolgab
Copy link
Member

@lolgab lolgab commented Mar 10, 2023

  • Delete @deprecated members
  • Increase stack size for jvm to mitigate compiler stack overflow
  • Introduce IterableOnce type alias to TraversableOnce in Scala 2.12 to fix deprecation in Scala 2.13 while maintaining Scala 2.12 compatibility
  • Add @nowarn("cat=deprecation") in Scala 2 macro code

@lolgab lolgab marked this pull request as ready for review March 10, 2023 23:12
@lolgab lolgab requested review from lihaoyi and lefou March 10, 2023 23:13
- Delete `@deprecated` members
- Increase stack size for jvm to mitigate compiler stack overflow
- Introduce `IterableOnce` type alias to `TraversableOnce` in Scala 2.12
  to fix deprecation in Scala 2.13 while maintaining Scala 2.12
  compatibility
- Add `@nowarn("cat=deprecation")` in Scala 2 macro code
The message was  the following:
```
the type test for scalajs.js.Array[scalajs.js.Any] cannot be checked at runtime
```
@lolgab lolgab merged commit 0724f89 into com-lihaoyi:main Mar 11, 2023
@lolgab lolgab deleted the fix-all-warnings branch March 11, 2023 11:00
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.

None yet

2 participants