Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-vvv is broken and crashes the compiler #151

Open
PtrMan opened this issue Nov 13, 2020 · 0 comments
Open

-vvv is broken and crashes the compiler #151

PtrMan opened this issue Nov 13, 2020 · 0 comments

Comments

@PtrMan
Copy link

PtrMan commented Nov 13, 2020

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
@PtrMan PtrMan changed the title -vvv is broken an crashes the compiler -vvv is broken and crashes the compiler Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant