aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/firrtl/Utils.scala
diff options
context:
space:
mode:
authorKevin Laeufer2020-07-28 09:40:35 -0700
committerKevin Laeufer2020-07-29 15:26:30 -0700
commit3b22cea87c9d5977c1f7a797091208034dbb8f2e (patch)
tree4d8f2a8d5a75dc377b599c6f33d98cdfafe222af /src/main/scala/firrtl/Utils.scala
parentff509e6a917269f995e28f228a23a7fb6e947363 (diff)
[2.13] convert toSeq and toMap where necessary to compile
Diffstat (limited to 'src/main/scala/firrtl/Utils.scala')
-rw-r--r--src/main/scala/firrtl/Utils.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/scala/firrtl/Utils.scala b/src/main/scala/firrtl/Utils.scala
index 0a067c04..a807b39f 100644
--- a/src/main/scala/firrtl/Utils.scala
+++ b/src/main/scala/firrtl/Utils.scala
@@ -299,7 +299,7 @@ object Utils extends LazyLogging {
expr
}
onExp(expression)
- ReferenceTarget(main, module, Nil, ref, tokens)
+ ReferenceTarget(main, module, Nil, ref, tokens.toSeq)
}
@deprecated("get_flip is fundamentally slow, use to_flip(flow(expr))", "1.2")
def get_flip(t: Type, i: Int, f: Orientation): Orientation = {
@@ -358,7 +358,7 @@ object Utils extends LazyLogging {
e
}
e map addKids
- kids
+ kids.toSeq
}
/** Walks two expression trees and returns a sequence of tuples of where they differ */