WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I inherited some Scala 2.11/12 code which is having difficulty compiling in Scala 2.13 despite the compatibility library. Simplified, it looks like this:
packagescala.collection.generic@scala.annotation.implicitNotFound("Cannot construct a collection of type ${To} with elements of type ${Elem} based on a collection of type ${From}.")
traitCanBuildFrom[-From, -Elem, +To] extends scala.AnyRef {
defapply(from : From) : scala.collection.mutable.Builder[Elem, To]
defapply() : scala.collection.mutable.Builder[Elem, To]
}
Any ideas?
I've added the plugin, the library dependencies, and
This discussion was converted from issue #500 on October 28, 2022 14:06.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I inherited some Scala 2.11/12 code which is having difficulty compiling in Scala 2.13 despite the compatibility library. Simplified, it looks like this:
The error message must have to do with this:
Any ideas?
I've added the plugin, the library dependencies, and
Beta Was this translation helpful? Give feedback.
All reactions