Code Monkey home page Code Monkey logo

Comments (1)

jdonaldson avatar jdonaldson commented on May 29, 2024

Hi Jeff, thanks for the kind words.

The explicit error state/message is there due to the fact that Haxe doesn't really have order-of-evaluation guarantees for macro code, and having two classes involved in a build macro can really throw some cryptic errors... it's possible to reference a child/dependent class before the parent has been completely resolved for instance. Here's some relevant tidbits from the manual : https://haxe.org/manual/macro-limitations-build-order.html

I'm still working on this, and I might find a way around it, but for now the safest thing to do is prevent macro-built classes from sharing modules with each other or their dependent types.

Also, as a heads up, I talked with NC and Juraj and will likely tweak the protocol a bit based on their suggestions. It shouldn't be too drastic, and your code should still work after some simple and obvious fixes.

Stay tuned, and thanks for giving it a shot!

from golgi.

Related Issues (5)

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.