Original bug ID: 3971
Reporter: dbaelde
Status: closed (set by @damiendoligez on 2006-02-06T12:09:02Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.09.0
Category: ~DO NOT USE (was: OCaml general)
Duplicate of: #3914
Bug description
Here is an example where unjustified Warning Y is issued.
dbaelde@igloo /tmp $ cat t.ml
class truc n = object end
class machin = let n = 0 in object inherit truc n end
dbaelde@igloo /tmp $ ocamlc t.ml
File "t.ml", line 2, characters 19-20:
Warning Y: unused variable n.
Original bug ID: 3971 Reporter: dbaelde Status: closed (set by @damiendoligez on 2006-02-06T12:09:02Z) Resolution: fixed Priority: normal Severity: minor Version: 3.09.0 Category: ~DO NOT USE (was: OCaml general) Duplicate of: #3914
Bug description
Here is an example where unjustified Warning Y is issued.
dbaelde@igloo /tmp $ cat t.ml class truc n = object end class machin = let n = 0 in object inherit truc n end
dbaelde@igloo /tmp $ ocamlc t.ml File "t.ml", line 2, characters 19-20: Warning Y: unused variable n.