aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Waterman2016-06-01 22:23:51 -0700
committerAndrew Waterman2016-06-01 22:23:51 -0700
commit4562e2cb8468d7021320754aeaff395de1a22206 (patch)
tree420b1dd10229e2a537f6b3f9be49313f0f93202e /src
parent26694d3496b7b500a3448599eb889126335b031f (diff)
Suppress "match may not be exhaustive" warning
Diffstat (limited to 'src')
-rw-r--r--src/main/scala/firrtl/Utils.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/firrtl/Utils.scala b/src/main/scala/firrtl/Utils.scala
index 98edaf4b..a2ca3103 100644
--- a/src/main/scala/firrtl/Utils.scala
+++ b/src/main/scala/firrtl/Utils.scala
@@ -630,7 +630,7 @@ object Utils extends LazyLogging {
case decl: IsDeclaration => if (decl.name == name) Some(decl) else None
case c: Conditionally =>
val m = (getRootDecl(name)(c.conseq), getRootDecl(name)(c.alt))
- m match {
+ (m: @unchecked) match {
case (Some(decl), None) => Some(decl)
case (None, Some(decl)) => Some(decl)
case (None, None) => None