felixangell / kpd

an old compiler for Krug written in D - a prototype version
MIT License
44 stars 1 forks source link

casting to a pointer causes a seg fault #60

Closed felixangell closed 6 years ago

felixangell commented 6 years ago
func go_away() u64 {
    let j u64 = 0;
    while j < 10_000_000_000 as *u64 {
        j = j + 1;
    }
    return j;
}

happens during name resolution

felixangell commented 6 years ago

This is magically fixed now somehow