Skip to content

#install_printer gives error in 4.0X #5691

@vicuna

Description

@vicuna

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions