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

Subsitution inside a signature leads to odd printing #5124

Closed
vicuna opened this issue Aug 11, 2010 · 1 comment
Closed

Subsitution inside a signature leads to odd printing #5124

vicuna opened this issue Aug 11, 2010 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Aug 11, 2010

Original bug ID: 5124
Reporter: @yallop
Status: closed (set by @garrigue on 2010-08-19T02:07:47Z)
Resolution: fixed
Priority: normal
Severity: tweak
Version: 3.12.0
Fixed in version: 3.12.1+dev
Category: ~DO NOT USE (was: OCaml general)

Bug description

Note the printed value for N ("sig and ..."):

    Objective Caml version 3.12.0

module type M = sig type t and s = t end;;

module type M = sig type t and s = t end

module type N = M with type t := int;;

module type N = sig and s = int end

@vicuna
Copy link
Author

vicuna commented Aug 19, 2010

Comment author: @garrigue

Thanks for the report.
This will be fixed in 3.12.1.
(Corrected in typemod.ml, revision 10650)

@vicuna vicuna closed this as completed Aug 19, 2010
@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
Labels
Projects
None yet
Development

No branches or pull requests

1 participant