Giter Site home page Giter Site logo

Null reference? about coconut.ui HOT 10 CLOSED

mvcoconut avatar mvcoconut commented on August 16, 2024
Null reference?

from coconut.ui.

Comments (10)

kevinresol avatar kevinresol commented on August 16, 2024

I need to explicitly annotate the type on this line:

if (data == (null:Observable<T>))

from coconut.ui.

back2dos avatar back2dos commented on August 16, 2024

Does updating tink_state help?

from coconut.ui.

kevinresol avatar kevinresol commented on August 16, 2024

Didn't when I filed the issue. I think I updated every possible dependencies

from coconut.ui.

kevinresol avatar kevinresol commented on August 16, 2024

I'm on haxe 3.4, is that the problem?

from coconut.ui.

back2dos avatar back2dos commented on August 16, 2024

Nope, shouldn't be. The problem is with == for observables ... I thought I had finally gotten it right ^^

from coconut.ui.

back2dos avatar back2dos commented on August 16, 2024

Ok, this is really weird. This test passed just fine: https://github.com/haxetink/tink_state/blob/40fa67ff3f977c564bea6c162536568947eee655/tests/TestBasic.hx#L114

Anyway, it's fixed here for now, until I figure out what to really do about it: haxetink/tink_state@2bda07e

from coconut.ui.

kevinresol avatar kevinresol commented on August 16, 2024

Yeah when i tested the equality statement for observables in a separate project it works fine.

Do you get the same generated code as mine in the Slot class?

from coconut.ui.

back2dos avatar back2dos commented on August 16, 2024

Yup, same code, same error. Strange things happening ^^

from coconut.ui.

back2dos avatar back2dos commented on August 16, 2024

Is this still a thing?

from coconut.ui.

kevinresol avatar kevinresol commented on August 16, 2024

Let's assume it is gone

from coconut.ui.

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.