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

the tag predicate(…) isn't supposed to be used with ocamldep #6184

Closed
vicuna opened this issue Sep 19, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@vicuna
Copy link

commented Sep 19, 2013

Original bug ID: 6184
Reporter: jpdeplaix
Assigned to: @gasche
Status: closed (set by @xavierleroy on 2015-12-11T18:25:56Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 4.01.0
Fixed in version: 4.02.0+dev
Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues
Tags: patch

Bug description

According to the ocamlfind manual and the following test case, « ocamlfind ocamldep » isn't supposed to handle -predicates.

Steps to reproduce

_tags:
true: predicate(test)

test.ml:
(* empty *)

$ ocamlbuild -use-ocamlfind test.ml
ocamldep: unknown option `-predicates'.

Additional information

The attached and tested patch fixes this issue.

File attachments

@vicuna

This comment has been minimized.

Copy link
Author

commented Mar 20, 2014

Comment author: @gasche

Fixed in trunk (14476), with a regression test (do consider adding tests in your next patches!). Thanks!

@vicuna vicuna closed this Dec 11, 2015

@vicuna vicuna added the ocamlbuild label Mar 14, 2019

@vicuna vicuna added the bug label Mar 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.