Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many deprecation warnings #339

Open
l-kent opened this issue Feb 27, 2025 · 0 comments
Open

Many deprecation warnings #339

l-kent opened this issue Feb 27, 2025 · 0 comments

Comments

@l-kent
Copy link
Contributor

l-kent commented Feb 27, 2025

-- Deprecation Warning: src\main\scala\ir\dsl\DSL.scala:189:40
189 |  EventuallyCall(DelayNameResolve(tgt), lhs.toArray, actualParams)
    |                                        ^
    |method copyArrayToImmutableIndexedSeq in class LowPriorityImplicits2 is deprecated since 2.13.0: implicit conversions from Array to immutable.IndexedSeq are implemented by copying; use `toIndexedSeq` explicitly if you want to copy, or use the more efficient non-copying ArraySeq.unsafeWrapArray
-- Deprecation Warning: src\main\scala\ir\dsl\IRToDSL.scala:23:48
23 |    case Return(label, out) => EventuallyReturn(out.map(keyToString).toArray, label)
   |                                                ^
   |method copyArrayToImmutableIndexedSeq in class LowPriorityImplicits2 is deprecated since 2.13.0: implicit conversions from Array to immutable.IndexedSeq are implemented by copying; use `toIndexedSeq` explicitly if you want to copy, or use the more efficient non-copying ArraySeq.unsafeWrapArray
-- Deprecation Warning: src\main\scala\ir\dsl\IRToDSL.scala:32:17
32 |      directCall(outs.toArray.map(keyToString), targ.name, actuals.toArray.map(keyToString): _*)
   |                 ^
   |method copyArrayToImmutableIndexedSeq in class LowPriorityImplicits2 is deprecated since 2.13.0: implicit conversions from Array to immutable.IndexedSeq are implemented by copying; use `toIndexedSeq` explicitly if you want to copy, or use the more efficient non-copying ArraySeq.unsafeWrapArray
-- Deprecation Warning: src\main\scala\ir\dsl\IRToDSL.scala:42:29
42 |    EventuallyBlock(x.label, x.statements.toArray.map(convertStatement), convertJump(x.jump), x.address)
   |                             ^
   |method copyArrayToImmutableIndexedSeq in class LowPriorityImplicits2 is deprecated since 2.13.0: implicit conversions from Array to immutable.IndexedSeq are implemented by copying; use `toIndexedSeq` explicitly if you want to copy, or use the more efficient non-copying ArraySeq.unsafeWrapArray
-- Deprecation Warning: src\main\scala\ir\dsl\IRToDSL.scala:49:6
49 |      x.blocks.map(convertBlock).toArray,
   |      ^
   |method copyArrayToImmutableIndexedSeq in class LowPriorityImplicits2 is deprecated since 2.13.0: implicit conversions from Array to immutable.IndexedSeq are implemented by copying; use `toIndexedSeq` explicitly if you want to copy, or use the more efficient non-copying ArraySeq.unsafeWrapArray
-- Deprecation Warning: src\main\scala\ir\transforms\DynamicSingleAssignment.scala:82:30
82 |            renames = renames + (lhs -> count(lhs))
   |                      ^^^^^^^^^
   |method + in trait MapOps is deprecated since 2.13.0: Consider requiring an immutable Map or fall back to Map.concat.
-- Deprecation Warning: src\test\scala\LiveVarsAnalysisTests.scala:363:28
363 |    val gotoBlocks = blocks.filterKeys(_.startsWith("lmain_goto_")).toMap
    |                     ^^^^^^^^^^^^^^^^^
    |method filterKeys in trait MapOps is deprecated since 2.13.0: Use .view.filterKeys(f). A future version will include a strict version of this method (for now, .view.filterKeys(p).toMap).
-- Deprecation Warning: src\test\scala\SystemTests.scala:177:21
177 |          val line = Integer(parts(1))
    |                     ^^^^^^^
    |constructor Integer in class Integer is deprecated: see corresponding Javadoc for more information.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant