diff options
| author | Leway Colin | 2019-07-09 01:41:02 +0800 |
|---|---|---|
| committer | mergify[bot] | 2019-07-08 17:41:02 +0000 |
| commit | aa571e1d4f76d095344a9deed28dfa70f704fa75 (patch) | |
| tree | 77e34d92f04f32f7c3c28bde8c9dac2892943ac5 /src/main/scala/firrtl/passes/Checks.scala | |
| parent | 648dddeacd9aece4a43cad09430dad25cba69457 (diff) | |
Remove some warnings (#1118)
Diffstat (limited to 'src/main/scala/firrtl/passes/Checks.scala')
| -rw-r--r-- | src/main/scala/firrtl/passes/Checks.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/firrtl/passes/Checks.scala b/src/main/scala/firrtl/passes/Checks.scala index e28116ea..c1415b19 100644 --- a/src/main/scala/firrtl/passes/Checks.scala +++ b/src/main/scala/firrtl/passes/Checks.scala @@ -397,7 +397,7 @@ object CheckTypes extends Pass { case (_: AnalogType, _: AnalogType) => true case (t1: BundleType, t2: BundleType) => val t1_fields = (t1.fields foldLeft Map[String, (Type, Orientation)]())( - (map, f1) => map + (f1.name -> (f1.tpe, f1.flip))) + (map, f1) => map + (f1.name ->( (f1.tpe, f1.flip) ))) t2.fields forall (f2 => t1_fields get f2.name match { case None => true |
