Giter Site home page Giter Site logo

Comments (3)

zetashift avatar zetashift commented on June 30, 2024 1

I went through the changelogs too, found the culprit:

The language definition and compiler are now stricter about gensym'ed symbols in hygienic templates. See the section in the manual for further details. Use the compiler switch --oldgensym:on for a transition period.

https://github.com/nim-lang/Nim/blob/devel/changelogs/changelog_1_0_0.md
Manual link: https://nim-lang.org/docs/manual.html#templates-hygiene-in-templates

The reason why this is the culprit because I get a succesfull compile adding --oldgensym:on to the nakefile. I pushed this switch and some minor changes to dodgethenim.

EDIT: we should be able to fix this, and maintain 0.18 compatibility because it should be a when clause away.

from godot-nim.

zetashift avatar zetashift commented on June 30, 2024

Did something change with static in Nim? https://github.com/pragmagic/godot-nim/blob/master/godot/nim/godotmacros.nim#L400

from godot-nim.

Skaruts avatar Skaruts commented on June 30, 2024

This is a bit out of my league, so I'm shooting blind here, but could this have anything to do with it (from 0.20.0 changelog):

Macro arguments of type typedesc are now passed to the macro as NimNode like every other type except static. Use typed for a behavior that is identical in new and old Nim. See the RFC Pass typedesc as NimNode to macros for more details.

I did a search for static in the changelogs, working backwards from 1.0.4, and that was the first thing I found that might be relevant.

from godot-nim.

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.