Skip to content
New issue

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

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

Already on GitHub? # to your account

Scala 2.13 version deprecation warning #331

Open
cosmir17 opened this issue Jun 22, 2020 · 1 comment
Open

Scala 2.13 version deprecation warning #331

cosmir17 opened this issue Jun 22, 2020 · 1 comment

Comments

@cosmir17
Copy link

Scala 2.13 version deprecation warning

Expected behavior

No Warning messages

Actual behavior

[warn] /Users/.../my-project/target/scala-2.13/src_managed/main/thrift/...../thriftscala/MyScalaClass.scala:530:10: method flatMap in class IterableOnceExtensionMethods is deprecated (since 2.13.0): Use .iterator.flatMap instead or consider requiring an Iterable
[warn]     (ids.flatMap { id => getFieldBlob(id).map { fieldBlob => (id, fieldBlob) } }).toMap

Steps to reproduce the behavior

Scrooge dependency 20.5.0 and Scala 2.13 build.

@yufangong
Copy link
Contributor

Hi @cosmir17, thanks for the report. Are you interested in taking a stab at this?
I think this piece sits in here. And some gold file templates updates afterward. Thanks.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

No branches or pull requests

2 participants