Coder Social home page Coder Social logo

Comments (11)

lrytz avatar lrytz commented on July 19, 2024 1

Not sure what your board is, but feel free to ping me on questions / issues :)

from splain.

tribbloid avatar tribbloid commented on July 19, 2024 1

@tek patch is integrated a few days ago, closing

from splain.

tek avatar tek commented on July 19, 2024

this looks like a message from an annotation in that library

from splain.

tribbloid avatar tribbloid commented on July 19, 2024

don't think so, if it is an annotation it should come after the "invalid because" part.

Plus this annotation seems to be all types, no text. I knew PhD students are undisciplined, but not that undisciplined

from splain.

tek avatar tek commented on July 19, 2024

well then what is that NO PROOF?

from splain.

tribbloid avatar tribbloid commented on July 19, 2024

Oh sorry that was part of the implicit annotation of shapesafe (the library I worked on)

from splain.

tribbloid avatar tribbloid commented on July 19, 2024

hmmm, looks like this problem can be triggered if the implicit function doesn't have a return type. The compiler has some weird rule in inferring and erasing type automatically in this case

from splain.

tribbloid avatar tribbloid commented on July 19, 2024

I found the cause of the problem, the following 2 types of Tree:

  // TODO remove this class, add a tree attachment to Apply to track whether implicits were involved
  // copying trees will all too easily forget to distinguish subclasses
  class ApplyToImplicitArgs(fun: Tree, args: List[Tree]) extends Apply(fun, args)

  // TODO remove this class, add a tree attachment to Apply to track whether implicits were involved
  // copying trees will all too easily forget to distinguish subclasses
  class ApplyImplicitView(fun: Tree, args: List[Tree]) extends Apply(fun, args)

May be returned as implicit candidate. Their .toString format is also very verbose (at least as verbose as TypeApply, which was replaced with an Apply when the error message is generated). So, the solution should be merely adding these 2 cases into the unapplyCandidate

A patch should be released shortly. But our end goal should be to merge it into scalac

from splain.

tribbloid avatar tribbloid commented on July 19, 2024

@tek do you think it is a good idea to invite @lrytz to be on our advisor board?

from splain.

tek avatar tek commented on July 19, 2024

if that is something he'd like to do, sure!

from splain.

tribbloid avatar tribbloid commented on July 19, 2024

Sounds good, let's finish the 1.0.0-RC1 for 2.13.6 first

from splain.

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.