Coder Social home page Coder Social logo

Roc format panic on valid code about roc HOT 2 OPEN

benplotke avatar benplotke commented on May 30, 2024
Roc format panic on valid code

from roc.

Comments (2)

benplotke avatar benplotke commented on May 30, 2024 1

Here's a somewhat more minimal example:

app "format-bug"
    packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.8.1/x8URkvfyi9I0QhmVG98roKBUs_AZRkLFwFJVJ3942YA.tar.br" }
    imports [pf.Stdout]
    provides [main] to pf

main = Stdout.line (Inspect.toStr a)

a =
    b = if 0 == 0
        then
            0
        else
            0
    b

I grabbed the most recent build and it still reproduces.

 ~/docs/code/roc/exercism $ roc version
roc nightly pre-release, built from commit 6b717a5 on Di 12 Mär 2024 09:01:44 UTC

from roc.

benplotke avatar benplotke commented on May 30, 2024
~/docs/code/roc/exercism $ roc version
roc nightly pre-release, built from commit d232a84 on Mi 06 Mär 2024 09:01:46 UTC

from roc.

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.