diff options
| author | chick | 2016-09-23 16:12:17 -0700 |
|---|---|---|
| committer | Donggyu Kim | 2016-09-25 14:39:44 -0700 |
| commit | c534f4450541511de8dc53d65aede2815c16ea4d (patch) | |
| tree | 18f7761fd8bb9a1efc9027963f544dc0145b6c8b /src/main/scala/firrtl/Annotations.scala | |
| parent | 3399c5e0469e821b640309f9e79448cad0f584a8 (diff) | |
Fix Anonymous function convertible to a method value
if methods has parens, then referencing without parens
is a method value, you don't need following underscore
Diffstat (limited to 'src/main/scala/firrtl/Annotations.scala')
| -rw-r--r-- | src/main/scala/firrtl/Annotations.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/firrtl/Annotations.scala b/src/main/scala/firrtl/Annotations.scala index 173006ab..987501ec 100644 --- a/src/main/scala/firrtl/Annotations.scala +++ b/src/main/scala/firrtl/Annotations.scala @@ -163,7 +163,7 @@ object Annotations { def serialize: String = this.toString def update(tos: Seq[Named]): Seq[Annotation] = { check(target, tos, this) - propagate(target, tos, duplicate _) + propagate(target, tos, duplicate) } } |
