Source

ocamlspot / tests / class_tmp_let.ml

1
2
3
4
5
6
class c = 
  let (* x => *) x (* <= x *) = 1 in
  object
    val v = x (* ? x *)
    method get_x = x (* ? x *)
  end