summaryrefslogtreecommitdiff
path: root/chiselFrontend/src/main/scala/chisel3/core/Attach.scala
diff options
context:
space:
mode:
Diffstat (limited to 'chiselFrontend/src/main/scala/chisel3/core/Attach.scala')
-rw-r--r--chiselFrontend/src/main/scala/chisel3/core/Attach.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/chiselFrontend/src/main/scala/chisel3/core/Attach.scala b/chiselFrontend/src/main/scala/chisel3/core/Attach.scala
index 8cb58f1c..5fb89b18 100644
--- a/chiselFrontend/src/main/scala/chisel3/core/Attach.scala
+++ b/chiselFrontend/src/main/scala/chisel3/core/Attach.scala
@@ -10,7 +10,7 @@ import chisel3.internal.sourceinfo.{SourceInfo}
object attach { // scalastyle:ignore object.name
// Exceptions that can be generated by attach
case class AttachException(message: String) extends ChiselException(message)
- def ConditionalAttachException =
+ def ConditionalAttachException: AttachException = // scalastyle:ignore method.name
AttachException(": Conditional attach is not allowed!")
// Actual implementation