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
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
Result: