WHF :) On the most recent main
branch (commit 9c52bee6
) I tried to compile the following progam:
struct LinkedList {
value: i64
next: LinkedList?
}
function main() {
mut node1 = LinkedList(value: 1, next: None)
}
and the compiler (not the resulting program) crashed with a Segmentation Fault.|
Steps I took:
cargo install --path .
jakt ./selfhost/main.jakt && mv ./build/main ./jakt_selfhost
./jakt_selfhost test.jakt # test.jakt is the program shown above
The Rust-based compiler doesn't crash and produces some Cpp which clang then rejects with
error: invalid application of 'sizeof' to an incomplete type 'Jakt::LinkedList'
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too