-
Couldn't load subscription status.
- Fork 205
make map ~a:(fun and map (fun consistent
#2706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,7 +9,8 @@ class c (* xx *) i (* yy *) = x | |
| class c = | ||
| object | ||
| method class_infos : 'a. ('a -> 'res) -> 'a class_infos -> 'res = | ||
| fun _a | ||
| fun | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This applies to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think its okay to merge without that. I am guessing that if I did not merge that I was not that happy with the result. As for this, I do think the wrong part is changed. The arrow is what should be moved to mark a separation between the function argument and the body. |
||
| _a | ||
| { pci_virt; pci_params; pci_name; pci_expr; pci_loc; pci_attributes } -> | ||
| let pci_virt = self#virtual_flag pci_virt in | ||
| let pci_params = self#list in | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| Warning: fun_decl-no-wrap-fun-args.ml:39 exceeds the margin | ||
| Warning: fun_decl-no-wrap-fun-args.ml:41 exceeds the margin |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| Warning: class_expr.ml:9 exceeds the margin | ||
| Warning: class_expr.ml:10 exceeds the margin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not great but it is consistent. I would like to box the arguments, so that
is allowed.