ocaml / ocaml

The core OCaml system: compilers, runtime system, base libraries
https://ocaml.org
Other
5.46k stars 1.1k forks source link

Wrong Warning Y #3971

Closed vicuna closed 18 years ago

vicuna commented 18 years ago

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.

vicuna commented 18 years ago

Comment author: @damiendoligez

fixed in 3.09.1