From a70f0ceb443da270aad31f5ed478e95df7962849 Mon Sep 17 00:00:00 2001 From: Jack Koenig Date: Wed, 9 Sep 2020 13:49:18 -0700 Subject: Make StageOption Unserializable (#1891) These options are generally specific to a stage and thus should not be propagating across serialization--- src/main/scala/firrtl/options/StageAnnotations.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') diff --git a/src/main/scala/firrtl/options/StageAnnotations.scala b/src/main/scala/firrtl/options/StageAnnotations.scala index 84168975..e2835e16 100644 --- a/src/main/scala/firrtl/options/StageAnnotations.scala +++ b/src/main/scala/firrtl/options/StageAnnotations.scala @@ -10,7 +10,7 @@ import java.io.File import scopt.OptionParser -sealed trait StageOption { this: Annotation => } +sealed trait StageOption extends Unserializable { this: Annotation => } /** An annotation that should not be serialized automatically [[phases.WriteOutputAnnotations WriteOutputAnnotations]]. * This usually means that this is an annotation that is used only internally to a [[Stage]]. -- cgit v1.2.3