diff options
| author | Albert Magyar | 2020-07-20 12:11:44 -0700 |
|---|---|---|
| committer | Albert Magyar | 2020-07-21 13:06:53 -0700 |
| commit | 7e9f424fb7dcd11c894ceb9f6f049fd9eda80632 (patch) | |
| tree | 1fa15e357d0af7b82316fa2ee659e2e98118488c /macros/src/main/scala/chisel3/internal/RuntimeDeprecationTransform.scala | |
| parent | 4a0e828cfe76e0d3bd6c4a0cc593589fe74ed0ba (diff) | |
Delete outdated scalastyle configuration comments from source
Diffstat (limited to 'macros/src/main/scala/chisel3/internal/RuntimeDeprecationTransform.scala')
| -rw-r--r-- | macros/src/main/scala/chisel3/internal/RuntimeDeprecationTransform.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/src/main/scala/chisel3/internal/RuntimeDeprecationTransform.scala b/macros/src/main/scala/chisel3/internal/RuntimeDeprecationTransform.scala index e1f528b3..dc0c8666 100644 --- a/macros/src/main/scala/chisel3/internal/RuntimeDeprecationTransform.scala +++ b/macros/src/main/scala/chisel3/internal/RuntimeDeprecationTransform.scala @@ -21,7 +21,7 @@ class RuntimeDeprecatedTransform(val c: Context) { case q"new deprecated($desc, $since)" => desc } match { // ensure there's only one and return it case msg :: Nil => msg - case _ => c.abort(c.enclosingPosition, s"@chiselRuntimeDeprecated annotion must be used with exactly one @deprecated annotation, got annotations $annotations") // scalastyle:ignore line.size.limit + case _ => c.abort(c.enclosingPosition, s"@chiselRuntimeDeprecated annotion must be used with exactly one @deprecated annotation, got annotations $annotations") } val message = s"$tname is deprecated: $annotationMessage" val transformedExpr = q""" { @@ -30,7 +30,7 @@ class RuntimeDeprecatedTransform(val c: Context) { } """ q"$mods def $tname[..$tparams](...$paramss): $tpt = $transformedExpr" } - case other => c.abort(c.enclosingPosition, s"@chiselRuntimeDeprecated annotion may only be used on defs, got ${showCode(other)}") // scalastyle:ignore line.size.limit + case other => c.abort(c.enclosingPosition, s"@chiselRuntimeDeprecated annotion may only be used on defs, got ${showCode(other)}") }) q"..$transformed" } |
