Skip to content

Conversation

@tymcauley
Copy link
Contributor

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

@tymcauley
Copy link
Contributor Author

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.

@tymcauley
Copy link
Contributor Author

@sequencer in case you have time to review this PR.

@tymcauley
Copy link
Contributor Author

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?

@tymcauley tymcauley changed the base branch from dev to master December 24, 2025 18:40
@tymcauley
Copy link
Contributor Author

@jerryz123 Okay rebased on master, and targeted to merge there now.

@jerryz123 jerryz123 merged commit f665b8b into chipsalliance:master Dec 24, 2025
28 checks passed
@tymcauley tymcauley deleted the fix-warnings branch December 24, 2025 19:09
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.

2 participants