We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35ef398 commit 938aa5eCopy full SHA for 938aa5e
lib/Ast.ml
@@ -1777,6 +1777,7 @@ end = struct
1777
match c.pcl_desc with
1778
| Pcl_apply _ -> Some Apply
1779
| Pcl_structure _ -> Some Apply
1780
+ | Pcl_let _ -> Some Low
1781
| _ -> None )
1782
| Top | Pat _ | Mty _ | Mod _ | Sig _ | Str _ | Tli _ | Clf _ | Ctf _
1783
|Rep | Mb _ | Md _ | Cd _ | Ctd _ ->
test/passing/tests/class_expr.ml
@@ -15,3 +15,8 @@ class c =
15
let pci_params = self#list in
16
()
17
end
18
+
19
+class c =
20
+ (let () = print_endline "Class init" in
21
+ with_param)
22
+ ()
0 commit comments