Closed DenialAdams closed 11 months ago
We have this same problem with:
proc main() {
let a = 10;
let x = gen$<!>(&a);
}
proc gen<T>(x: &u8) -> &T {
return x transmute &T;
}
I think we need to simply legislate this: an expression producing a type of never will trap
Closed in 8bb875a817abe4817ab5837b74df53171a18c390