Giter Site home page Giter Site logo

Comments (4)

chitoyuu avatar chitoyuu commented on July 17, 2024 1

Related to #814. This is something we've been trying to find a way to deal with for a long while.

Unfortunately, there isn't a good workaround for the time being. If the warning must be suppressed, you can try calling the method with Object::call, which does allow you to omit parameters, at the cost of not being statically typed.

Keeping this open as a reference for the method generator redesign.

from gdnative.

hanya avatar hanya commented on July 17, 2024 1

Width == 1.0 does not make the warning.

from gdnative.

yue4u avatar yue4u commented on July 17, 2024

Thanks for your quick reply!

you can try calling the method with Object::call,

Nice, changing to Object::call makes a lot of sense to me even with the cost of losing typing as this is the only API I have problem with.

from gdnative.

chitoyuu avatar chitoyuu commented on July 17, 2024

Thanks for the information! Since it has been a while since this issue was first reported, it's possible that this was fixed upstream, which would explain the change in behavior. For now, I'll proceed to close this issue.

from gdnative.

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.