aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/firrtl/Compiler.scala
diff options
context:
space:
mode:
authorJack Koenig2019-11-15 15:45:29 -0800
committerGitHub2019-11-15 15:45:29 -0800
commit5e6d985b27e283868bc2b990c8b6a5888c74422a (patch)
tree5d8221340400fadc8742888d7b435d18ceeab7ba /src/main/scala/firrtl/Compiler.scala
parent5373173d055e2916cd8867fd91dee7251192ebc9 (diff)
parentb076ac8fb482d2ef694f5b941cd8d72a2d9761ef (diff)
Merge pull request #1228 from freechipsproject/getSimpleName-considered-harmful
getSimpleName considered harmful
Diffstat (limited to 'src/main/scala/firrtl/Compiler.scala')
-rw-r--r--src/main/scala/firrtl/Compiler.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/firrtl/Compiler.scala b/src/main/scala/firrtl/Compiler.scala
index 600b991e..9014d213 100644
--- a/src/main/scala/firrtl/Compiler.scala
+++ b/src/main/scala/firrtl/Compiler.scala
@@ -171,7 +171,7 @@ final case object UnknownForm extends CircuitForm(-1) {
/** The basic unit of operating on a Firrtl AST */
abstract class Transform extends TransformLike[CircuitState] {
/** A convenience function useful for debugging and error messages */
- def name: String = this.getClass.getSimpleName
+ def name: String = this.getClass.getName
/** The [[firrtl.CircuitForm]] that this transform requires to operate on */
def inputForm: CircuitForm
/** The [[firrtl.CircuitForm]] that this transform outputs */