Code Monkey home page Code Monkey logo

Comments (5)

GuillaumeSaintRaymondSonos avatar GuillaumeSaintRaymondSonos commented on August 14, 2024 2

Scala 2.13.3 fixed the issue !

from sbt-tpolecat.

SethTisue avatar SethTisue commented on August 14, 2024

it appears from https://github.com/DavidGregory084/sbt-tpolecat/blob/master/src/main/scala/io/github/davidgregory084/TpolecatPlugin.scala that the plugin does enable -Wunused:imports

Not sure, but perhaps it's something specific to your code (and perhaps ultimately there's a scalac bug involved). Attempting to isolate the problem would resolve the question one way or the other.

from sbt-tpolecat.

GuillaumeSaintRaymondSonos avatar GuillaumeSaintRaymondSonos commented on August 14, 2024

Thanks for the response, I managed to reproduce the problem with a simple project https://github.com/GuillaumeSaintRaymondSonos/sbt-tpolecat-circe/

By default, unused warning reporting is working well with Scala 2.13.2 but when I add circe dependency and after adding a scalac option for @JsonCodec. This is where the behaviour is different between 2.13.1/2.13.2

from sbt-tpolecat.

SethTisue avatar SethTisue commented on August 14, 2024

sounds like not a problem in this repo, then. sounds to me like you should try circe issue tracker next, if the problem isn't reproducible without circe.

I wonder if it's related to scala/scala#8799

if you're really determined to track this down, one path forward would be to use git bisect or https://github.com/adriaanm/binfu/blob/master/bisect.sh to pinpoint the exact scala/scala PR when this regressed (and/or just browse all the merged 2.13.2 PRs yourself)

from sbt-tpolecat.

GuillaumeSaintRaymondSonos avatar GuillaumeSaintRaymondSonos commented on August 14, 2024

All good, thx a lot ! Will close the ticket here.

from sbt-tpolecat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.