You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 4065 Reporter: sumii Status: closed (set by @damiendoligez on 2006-07-19T09:22:59Z) Resolution: duplicate Priority: normal Severity: minor Version: 3.09.0 Category: ~DO NOT USE (was: OCaml general) Duplicate of:#3914
Bug description
cat test.ml
class c x =
object (self)
method m = x + 1
end
class d =
let y = 23 in
object (self)
inherit c y
end
;;
print_int (new d)#m
ocamlc test.ml -o test
File "test.ml", line 7, characters 6-7:
Warning Y: unused variable y.
./test
24>
The text was updated successfully, but these errors were encountered:
Original bug ID: 4065
Reporter: sumii
Status: closed (set by @damiendoligez on 2006-07-19T09:22:59Z)
Resolution: duplicate
Priority: normal
Severity: minor
Version: 3.09.0
Category: ~DO NOT USE (was: OCaml general)
Duplicate of: #3914
Bug description
class d =
let y = 23 in
object (self)
inherit c y
end
;;
print_int (new d)#m
The text was updated successfully, but these errors were encountered: