aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/firrtl/annotations
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/scala/firrtl/annotations')
-rw-r--r--src/main/scala/firrtl/annotations/Annotation.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/firrtl/annotations/Annotation.scala b/src/main/scala/firrtl/annotations/Annotation.scala
index 9efc6e9b..cbc9bf1c 100644
--- a/src/main/scala/firrtl/annotations/Annotation.scala
+++ b/src/main/scala/firrtl/annotations/Annotation.scala
@@ -35,7 +35,7 @@ object DeletedAnnotation {
Annotation(anno.target, classOf[Transform], s"""DELETED by $xFormName\n${AnnotationUtils.toYaml(anno)}""")
private val deletedRegex = """(?s)DELETED by ([^\n]*)\n(.*)""".r
- def unapply(a: Annotation): Option[Tuple2[String, Annotation]] = a match {
+ def unapply(a: Annotation): Option[(String, Annotation)] = a match {
case Annotation(named, t, deletedRegex(xFormName, annoString)) if t == classOf[Transform] =>
Some((xFormName, AnnotationUtils.fromYaml(annoString)))
case _ => None