diff options
| author | Palmer Dabbelt | 2015-10-22 21:43:29 -0700 |
|---|---|---|
| committer | Palmer Dabbelt | 2015-10-22 21:43:29 -0700 |
| commit | 6ce580969d1cefcdff18aa8ab6610b1c89c57739 (patch) | |
| tree | ed9ebb6756f93ce5c11a6ee9ac8e3ea9122d5bee /src | |
| parent | 90bde8730fd71c3a5fc0b026064a4f1004e43d0f (diff) | |
| parent | f10138b774f66716c778d0d0b4f27a62d2bb600a (diff) | |
Merge pull request #29 from ucb-bar/scalastyle-lastif
Add curly braces around that one last if block
Diffstat (limited to 'src')
| -rw-r--r-- | src/main/scala/Chisel/IR.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/scala/Chisel/IR.scala b/src/main/scala/Chisel/IR.scala index d49d260d..e25d3f56 100644 --- a/src/main/scala/Chisel/IR.scala +++ b/src/main/scala/Chisel/IR.scala @@ -86,8 +86,7 @@ case class ModuleIO(mod: Module, name: String) extends Arg { } case class Slot(imm: Node, name: String) extends Arg { override def fullName(ctx: Component): String = - if (imm.fullName(ctx).isEmpty) name - else s"${imm.fullName(ctx)}.${name}" + if (imm.fullName(ctx).isEmpty) name else s"${imm.fullName(ctx)}.${name}" } case class Index(imm: Arg, value: Int) extends Arg { def name: String = s"[$value]" |
