Coder Social home page Coder Social logo

Comments (7)

dahuanghuang avatar dahuanghuang commented on June 19, 2024

I have similar errors in my project

from argo.

gfontenot avatar gfontenot commented on June 19, 2024

It sounds like something changed with precedence or type inference. I don't have much time to dig into this right now, but if someone wants to look into this I'm happy to help however I can.

from argo.

gfontenot avatar gfontenot commented on June 19, 2024

Oh it might also be something that changed with the type of the initializer? That type signature implies that the curried initializer doesn't take any arguments.

from argo.

dahuanghuang avatar dahuanghuang commented on June 19, 2024

This error is accompanied by a hint

Messages

"1. Overloads for '<^>' exist with these partially matching parameter lists: ((T) -> U, Decoded), ((T) -> U, Result<T, E>), ((T) -> U, T?), ((T) -> U, [T])"

from argo.

MervinFlores avatar MervinFlores commented on June 19, 2024

Here's the solution:

https://stackoverflow.com/questions/58905411/binary-operator-cannot-be-applied-to-operands-of-type

from argo.

gfontenot avatar gfontenot commented on June 19, 2024

Makes sense, although it's unfortunate. I assume the other way to fix this would be to define an explicit initializer, which would keep Swift for synthesizing them for you.

from argo.

gfontenot avatar gfontenot commented on June 19, 2024

I'm going to go ahead and close this due to inactivity but please feel free to reopen if this is still an issue.

from argo.

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.