Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
identifiers not recognized by ocaml when assigned by deconstructing a tuple #7554
Original bug ID: 7554
consider this snippet:
let n, nstop, nex = List.(length resokerr, length lims, length exceptions) in Printf.printf "%d stopped iterations (%.0f%%)\n" nstop (float_of_int nstop /. float_of_int n *. 100.);
when stepping into the printf line with ocamldebug, neither of n, nstop, nex can be printed.
Steps to reproduce
assign identifiers in tuple form. then try to print while they are in scope.