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

#install_printer gives error in 4.0X #5691

Closed
vicuna opened this issue Jul 20, 2012 · 2 comments
Closed

#install_printer gives error in 4.0X #5691

vicuna opened this issue Jul 20, 2012 · 2 comments
Assignees
Labels

Comments

@vicuna
Copy link

vicuna commented Jul 20, 2012

Original bug ID: 5691
Reporter: Hendrik Tews
Assigned to: @damiendoligez
Status: closed (set by @xavierleroy on 2015-12-11T18:07:22Z)
Resolution: fixed
Priority: normal
Severity: major
Version: 4.00.0+beta2/+rc1
Fixed in version: 4.00.0+beta2/+rc1
Category: ~DO NOT USE (was: OCaml general)

Bug description

#install_printer does not work anymore in the trunk
version of OCaml and in the 4.00 branch. When I try

type t = A;;
let t_printer ff (t : t) = Format.fprintf ff "XaX";;
#install_printer t_printer;;

I get

Cannot find type Topdirs.printer_type_new.

@vicuna
Copy link
Author

vicuna commented Jul 20, 2012

Comment author: @protz

This has been fixed on trunk and will hopefully be backported to the 4.00 branch.

(I'm leaving the bug open until we do the actualy back-porting on 4.00).

Thanks for the report, I'm glad to see some people are actually giving the rc version a try!

jonathan

@vicuna
Copy link
Author

vicuna commented Jul 20, 2012

Comment author: @protz

Fixed in r12750

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants