Segfault with lazy
OlivierNicole opened this issue · comments
let x = 42
macro y = lazy <<x>>
let () = Printf.printf "%d\n" $(^Lazy.force y)
Fixed by bf07bb5: lazy
should be disallowed as it is not really pure.
The core OCaml system: compilers, runtime system, base libraries
OlivierNicole opened this issue · comments
let x = 42
macro y = lazy <<x>>
let () = Printf.printf "%d\n" $(^Lazy.force y)
Fixed by bf07bb5: lazy
should be disallowed as it is not really pure.