Skip to content
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

Fix locks in rules without targets #3366

Merged
merged 3 commits into from
Apr 15, 2020

Conversation

aalekseyev
Copy link
Collaborator

No description provided.

@aalekseyev aalekseyev changed the title Fix ocks in rules without targets Fix locks in rules without targets Apr 14, 2020
@aalekseyev aalekseyev force-pushed the locks-in-rules-without-targets branch from 131af55 to dca2e3b Compare April 14, 2020 11:21
@@ -124,7 +124,8 @@ let user_rule sctx ?extra_bindings ~dir ~expander (rule : Rule.t) =
let action = Some (snd rule.action) in
Alias_rules.stamp ~deps:rule.deps ~extra_bindings ~action
in
Alias_rules.add sctx ~alias ~stamp ~loc:(Some rule.loc) action;
let locks = (interpret_locks ~expander rule.locks) in
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mind running $ make fmt here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry. Fixed.

@rgrinberg
Copy link
Member

optional arguments are evil

@aalekseyev aalekseyev merged commit 9cb0cc3 into ocaml:master Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants