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

warning Y et héritage #3868

Closed
vicuna opened this issue Nov 16, 2005 · 2 comments
Closed

warning Y et héritage #3868

vicuna opened this issue Nov 16, 2005 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Nov 16, 2005

Original bug ID: 3868
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Bonjour,

le warning Y est levé dans ce cas alors qu'il ne devrait pas:

class bar (x:int) =
object
method x = x
end

class foo =
let x = 1 in (*** <- unused variable x *)
object
inherit bar x
end

ocamlc -c -warn-error Y t.ml
File "t.ml", line 7, characters 6-7:
Warning Y: unused variable x.

--
Maxence

@vicuna
Copy link
Author

vicuna commented Nov 16, 2005

Comment author: administrator

Salut Maxence,

le warning Y est levé dans ce cas alors qu'il ne devrait pas:
[...]

C'est fixe. Merci pour le rapport.

-- Damien

@vicuna
Copy link
Author

vicuna commented Nov 16, 2005

Comment author: administrator

fixed DD 2005-11-16

@vicuna vicuna closed this as completed Nov 16, 2005
@vicuna vicuna added the bug label Mar 19, 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