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

Missed unused open #5631

Closed
vicuna opened this issue Jun 1, 2012 · 1 comment
Closed

Missed unused open #5631

vicuna opened this issue Jun 1, 2012 · 1 comment
Assignees

Comments

@vicuna
Copy link

vicuna commented Jun 1, 2012

Original bug ID: 5631
Reporter: @alainfrisch
Assigned to: @alainfrisch
Status: closed (set by @xavierleroy on 2015-12-11T18:04:49Z)
Resolution: fixed
Priority: normal
Severity: minor
Category: typing

Bug description

In the following, the "open M" is useless, but not detected as such:


module M = struct type t = unit end
open M

type t = unit

let f (x : t) = x

@vicuna
Copy link
Author

vicuna commented Jun 1, 2012

Comment author: @alainfrisch

Fixed in trunk (r12537) and 4.00 (r12538).

@vicuna vicuna closed this as completed Dec 11, 2015
@vicuna vicuna added the typing label Mar 14, 2019
@vicuna vicuna added the bug label Mar 20, 2019
dra27 pushed a commit to dra27/ocaml that referenced this issue Feb 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants