-
Notifications
You must be signed in to change notification settings - Fork 414
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
refactor(scheduler): remove duplicate types #6785
refactor(scheduler): remove duplicate types #6785
Conversation
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.
Nice! I was once pretty confused by this duplication.
Can we take this PR a bit further and clean up some naming where we say "signal" but the actual type is a 'Reason.t`? I left a few suggestions (but they are probably not exhaustive).
81ff906
to
b5a7a1e
Compare
I think I fixed all the naming issues now. |
[Shutdown.Reason.t] and [Shutdown_reason.t] are the same modulo constructor names. Signed-off-by: Rudi Grinberg <me@rgrinberg.com> ps-id: d75c7609-cd02-4fe2-9c30-d08cd71ea60f
b5a7a1e
to
a12b97c
Compare
* main: (148 commits) refactor(rpc): remove mutable callback (ocaml#6786) refactor(stdune): make [Id.t] immediate (ocaml#6795) refactor(melange): share mode handling (ocaml#6799) refactor(scheduler): remove duplicate types (ocaml#6785) refactor: move cram stanza definition (ocaml#6800) fix: correctly validate argument to top-module (ocaml#6796) refactor: move generate_sites_module to own module (ocaml#6798) fix(melange): check rules (ocaml#6789) refactor(rpc): make [Call.to_dyn] public (ocaml#6797) refactor(rpc): invalid session errors (ocaml#6787) refactor(melange): remove js globs (ocaml#6782) doc: fix version indication for "dune ocaml top-module" (ocaml#6792) refactor: print shutdown exception (ocaml#6784) refactor(rpc): add [Call.to_dyn] (ocaml#6790) fix: do not impose no_sandboxing on ocamldep (ocaml#6749) refactor(melange): move stanza definition (ocaml#6775) fix: handle missing CLICOLOR_FORCE correctly (ocaml#6781) Revert --display tui (ocaml#6780) fix: render pending messages refactor(coq): inline coqc_rule ...
[Shutdown.Reason.t] and [Shutdown_reason.t] are the same modulo
constructor names.
Signed-off-by: Rudi Grinberg me@rgrinberg.com
ps-id: d75c7609-cd02-4fe2-9c30-d08cd71ea60f