Skip to content

-vvv is broken and crashes the compiler #151

@PtrMan

Description

@PtrMan

I tried to see what the compiler is doing and got a crash trying to compile a simple hello world with kitc -vvv test0.kit

function main() {
    printf("%s\n", "Hello from Kit!");
}

Result:

CallStack (from HasCallStack):
  error, called at libraries/base/GHC/Err.hs:79:14 in base:GHC.Err
  undefined, called at src/Kit/Ast/Definitions/EnumVariant.hs:38:24 in kitlang-0.1.0-7uWjdU81ybAH34QXJWKK6w:Kit.Ast.Definitions.EnumVariant

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions