diff options
| author | Kevin Laeufer | 2020-07-28 09:40:35 -0700 |
|---|---|---|
| committer | Kevin Laeufer | 2020-07-29 15:26:30 -0700 |
| commit | 3b22cea87c9d5977c1f7a797091208034dbb8f2e (patch) | |
| tree | 4d8f2a8d5a75dc377b599c6f33d98cdfafe222af /src/main/scala/firrtl/Utils.scala | |
| parent | ff509e6a917269f995e28f228a23a7fb6e947363 (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.scala | 4 |
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 */ |
