Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006730OCamltools (ocaml{lex,yacc,dep,debug,...})public2014-12-22 20:382017-02-22 17:24
Reporterwhitequark 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSOS Version
Product Version4.02.1 
Target VersionundecidedFixed in Version 
Summary0006730: Wish: -dsource/-dparsetree for ocamldep
DescriptionI currently have a mysterious failure of ocamldep when it does not output any dependencies with a certain set of -ppx. However the file itself compiles fine. I'll not be able to debug that without a -dparsetree or equivalent.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0012958)
gasche (developer)
2014-12-23 09:49

This looks like an ocamldep bug. I'm not opposed to adding -dsource for debuggability, but if you're going to have to change the ocamldep sources to fix the issue anyway, why not directly dive in and debug it by temporarily instrumenting it with an extra print-ast call?
(0012962)
whitequark (developer)
2014-12-23 13:51

I've changed my code since then, and I did not have time to debug ocamldep at the moment. So I filed the bug to at least simplify debugging for whoever encounters this next.
(0013041)
doligez (administrator)
2015-01-09 18:10

I don't think this is pressing enough that it should go into 4.02.2. Speak up if you disagree.
(0017401)
frisch (developer)
2017-02-22 17:24
edited on: 2017-02-22 17:24

GitHub PR welcome!


- Issue History
Date Modified Username Field Change
2014-12-22 20:38 whitequark New Issue
2014-12-23 09:49 gasche Note Added: 0012958
2014-12-23 13:51 whitequark Note Added: 0012962
2015-01-09 18:10 doligez Note Added: 0013041
2015-01-09 18:10 doligez Target Version 4.02.2+dev / +rc1 => 4.03.0+dev / +beta1
2015-01-09 18:10 doligez Status new => acknowledged
2016-04-18 15:00 doligez Target Version 4.03.0+dev / +beta1 => 4.03.1+dev
2016-12-07 17:54 shinwell Category OCaml general => OCaml tools (ocaml{lex,yacc,dep,debug})
2017-02-16 14:00 doligez Target Version 4.03.1+dev => undecided
2017-02-22 17:24 frisch Note Added: 0017401
2017-02-22 17:24 frisch Severity minor => feature
2017-02-22 17:24 frisch Note Edited: 0017401 View Revisions
2017-02-23 16:45 doligez Category OCaml tools (ocaml{lex,yacc,dep,debug}) => tools (ocaml{lex,yacc,dep,debug,...})


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker