-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix a lot of Scala compilation warnings #3775
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
Conversation
a95e3d7 to
2ea5edf
Compare
|
Removed this change since it's not available on the version of Scala that runs in CI (2.13.12) diff --git a/src/main/scala/util/SimpleProduct.scala b/src/main/scala/util/SimpleProduct.scala
index 50e99307c..b3cbbeb00 100644
--- a/src/main/scala/util/SimpleProduct.scala
+++ b/src/main/scala/util/SimpleProduct.scala
@@ -20,7 +20,7 @@ trait SimpleProduct extends Product with Equals {
case _ => false
}
- override def hashCode: Int = scala.util.hashing.MurmurHash3.productHash(this)
+ override def hashCode: Int = scala.util.hashing.MurmurHash3.caseClassHash(this)This deprecation happened in Scala 2.13.17. |
|
@sequencer in case you have time to review this PR. |
|
Thanks for reviewing this @jerryz123! I now notice that the master branch is ahead of the dev branch. Should I re-target this to be on the master branch instead? |
These types were moved from the `chisel3.experimental` package to `chisel3` in chipsalliance/chisel#5099 (with the `chisel3.experimental` types being deprecated), so the wildcard import causes import-conflict errors on Chisel 7.5.0.
2ea5edf to
d9bbb50
Compare
|
@jerryz123 Okay rebased on master, and targeted to merge there now. |
This resolves a lot of compilation warnings, and also fixes compilation for Chisel 7.5.0 (due to the import conflict introduced by chipsalliance/chisel#5099).
Related issue: N/A
Type of change: other enhancement
Impact: no functional change
Development Phase: implementation
Release Notes
Resolve Scala compilation warnings