diff options
| author | Jack Koenig | 2018-03-27 21:54:30 -0700 |
|---|---|---|
| committer | GitHub | 2018-03-27 21:54:30 -0700 |
| commit | cf0d971beda33a1802c384bd8d5eebb150d9d578 (patch) | |
| tree | 95d47d79d784289904fc0cb0c88b349617dc3a67 /src/main/scala/firrtl/passes/Checks.scala | |
| parent | 65454f5ff1a370d66202a073e18cdcd40180f051 (diff) | |
Change throwInternalError to use a String instead of Option[String] (#777)
Diffstat (limited to 'src/main/scala/firrtl/passes/Checks.scala')
| -rw-r--r-- | src/main/scala/firrtl/passes/Checks.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/firrtl/passes/Checks.scala b/src/main/scala/firrtl/passes/Checks.scala index 2946127a..215c5425 100644 --- a/src/main/scala/firrtl/passes/Checks.scala +++ b/src/main/scala/firrtl/passes/Checks.scala @@ -305,7 +305,7 @@ object CheckTypes extends Pass { case UnknownType => errors.append(new IllegalUnknownType(info, mname, e.serialize)) (isUInt, isSInt, isClock, isFix) - case other => throwInternalError(Some(s"Illegal Type: ${other.serialize}")) + case other => throwInternalError(s"Illegal Type: ${other.serialize}") } } match { // (UInt, SInt, Clock, Fixed) |
