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

fixed more warnings on 2.13 #2911

Merged
merged 3 commits into from
Jun 26, 2019
Merged

Conversation

kailuowang
Copy link
Contributor

@kailuowang kailuowang commented Jun 25, 2019

Also made default Scala version 2.12, which helps for IDE integration.

Update: I removed ScalaStyle which is conflicting with scalafmt, I see no reason to maintain both.

LukaJCB
LukaJCB previously approved these changes Jun 25, 2019
@codecov-io
Copy link

codecov-io commented Jun 26, 2019

Codecov Report

Merging #2911 into master will increase coverage by 0.01%.
The diff coverage is 90.9%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2911      +/-   ##
==========================================
+ Coverage   94.24%   94.26%   +0.01%     
==========================================
  Files         363      364       +1     
  Lines        6951     6952       +1     
  Branches      184      188       +4     
==========================================
+ Hits         6551     6553       +2     
+ Misses        400      399       -1
Impacted Files Coverage Δ
...ala-2.12-/cats/kernel/compat/TraversableOnce.scala 0% <ø> (ø)
.../scala/cats/kernel/instances/StreamInstances.scala 100% <ø> (ø) ⬆️
kernel/src/main/scala/cats/kernel/Eq.scala 93.75% <ø> (ø) ⬆️
...rc/main/scala/cats/laws/discipline/Arbitrary.scala 99.15% <ø> (ø) ⬆️
kernel/src/main/scala/cats/kernel/Monoid.scala 88.88% <ø> (ø) ⬆️
core/src/main/scala/cats/data/package.scala 88.88% <ø> (ø) ⬆️
...ain/scala/cats/kernel/instances/MapInstances.scala 100% <ø> (ø) ⬆️
...in/scala/cats/kernel/instances/StaticMethods.scala 73.8% <ø> (ø) ⬆️
...n/scala/cats/kernel/instances/QueueInstances.scala 100% <ø> (ø) ⬆️
...in/scala/cats/kernel/instances/ListInstances.scala 100% <ø> (ø) ⬆️
... and 13 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a0896a2...f55ddf5. Read the comment docs.


private[cats] object scalaVersionSpecific {
type LazyList[+A] = scala.LazyList[A] //this is needed only to avoid unused import warnings on Scala 2.13
type IterableOnce[+A] = scala.IterableOnce[A] //this is needed only to avoid unused import warnings on Scala 2.13
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Burn it all down.

@kailuowang kailuowang merged commit 207bb0d into typelevel:master Jun 26, 2019
@kailuowang kailuowang added this to the 2.0.0-RC1 milestone Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants