aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/firrtl/passes/RemoveValidIf.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/scala/firrtl/passes/RemoveValidIf.scala')
-rw-r--r--src/main/scala/firrtl/passes/RemoveValidIf.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/firrtl/passes/RemoveValidIf.scala b/src/main/scala/firrtl/passes/RemoveValidIf.scala
index 68d16c30..7d714be7 100644
--- a/src/main/scala/firrtl/passes/RemoveValidIf.scala
+++ b/src/main/scala/firrtl/passes/RemoveValidIf.scala
@@ -24,7 +24,7 @@ object RemoveValidIf extends Pass {
case _: UIntType => UIntZero
case _: SIntType => SIntZero
case ClockType => ClockZero
- case other => throwInternalError
+ case other => throwInternalError()
}
// Recursive. Replaces IsInvalid with connecting zero