diff options
| author | Jack Koenig | 2019-11-15 15:45:29 -0800 |
|---|---|---|
| committer | GitHub | 2019-11-15 15:45:29 -0800 |
| commit | 5e6d985b27e283868bc2b990c8b6a5888c74422a (patch) | |
| tree | 5d8221340400fadc8742888d7b435d18ceeab7ba /src/main/scala/firrtl/annotations | |
| parent | 5373173d055e2916cd8867fd91dee7251192ebc9 (diff) | |
| parent | b076ac8fb482d2ef694f5b941cd8d72a2d9761ef (diff) | |
Merge pull request #1228 from freechipsproject/getSimpleName-considered-harmful
getSimpleName considered harmful
Diffstat (limited to 'src/main/scala/firrtl/annotations')
| -rw-r--r-- | src/main/scala/firrtl/annotations/JsonProtocol.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/firrtl/annotations/JsonProtocol.scala b/src/main/scala/firrtl/annotations/JsonProtocol.scala index c3853650..9992400a 100644 --- a/src/main/scala/firrtl/annotations/JsonProtocol.scala +++ b/src/main/scala/firrtl/annotations/JsonProtocol.scala @@ -109,7 +109,7 @@ object JsonProtocol { val annos = parsed match { case JArray(objs) => objs case x => throw new InvalidAnnotationJSONException( - s"Annotations must be serialized as a JArray, got ${x.getClass.getSimpleName} instead!") + s"Annotations must be serialized as a JArray, got ${x.getClass.getName} instead!") } // Recursively gather typeHints by pulling the "class" field from JObjects // Json4s should emit this as the first field in all serialized classes |
