Git Product home page Git Product logo

Comments (4)

SolitudeSF avatar SolitudeSF commented on September 13, 2024 1

nimble install installs latest tag if present. the fixed version just wasnt tagged.

you can nimble install 'nimgame2@#HEAD' to install HEAD with nimble.

from nimgame2.

Vladar4 avatar Vladar4 commented on September 13, 2024 1

Should be fixed with v0.6.1 (along with other adjustments for Nim v0.20.0).

from nimgame2.

Stii avatar Stii commented on September 13, 2024

In fact, I think there is something else wrong. Sorry about that.

When I look at the files that nimble install nimgame2 extracted it had line 33 as:

type
  Channel* = int
  Distance* = range[0..255]

but when I look at the source here it is defined correctly as:

type
  Channel* = int
  Distance* = range[0'u8..255'u8]

Will dig deeper as to how this happened. I think the stricter type conversions might make the version nimble installed break.

from nimgame2.

Stii avatar Stii commented on September 13, 2024

Got it. The release tarball has the 0'u8..255'u8 converted to 0..255 which isn't valid anymore. Not sure if you used something like nimpretty to format the code before creating a release and if that possibly changed it?

Anyway, a workaround is to clone the repo rather than use nimble to install.

from nimgame2.

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.