Coder Social home page Coder Social logo

Code no longer compiles about haskell-compiler HOT 5 CLOSED

marwes avatar marwes commented on June 27, 2024
Code no longer compiles

from haskell-compiler.

Comments (5)

Marwes avatar Marwes commented on June 27, 2024

That should teach me to assume things :) (last paragraph).

Fixed with 9a15b01 (small regression due to a fix in rustc after 1.0)

from haskell-compiler.

coder543 avatar coder543 commented on June 27, 2024

sadly, this doesn't fix it.

errors

compiling with rustc 1.22.0-nightly (a47c9f870 2017-10-11)

using cargo run --release

from haskell-compiler.

Marwes avatar Marwes commented on June 27, 2024

Woops. Only ran cargo test, that error only occurs with cargo build. That error may actually have been there since before 1.0.

from haskell-compiler.

Marwes avatar Marwes commented on June 27, 2024

Now it builds as well 997a8b6.

Tested evaluating some programs and it appears that just writing 1 into the repl crashes it which I believe is because I never implemented type defaulting (ie transform Num a => a into Int). As long as the type is concrete it appears to work though.

from haskell-compiler.

coder543 avatar coder543 commented on June 27, 2024

Yep, it works now!

from haskell-compiler.

Related Issues (1)

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.