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: 6428 Reporter: Dmitry Grebeniuk Assigned to:@gasche Status: closed (set by @xavierleroy on 2015-12-11T18:27:03Z) Resolution: duplicate Priority: normal Severity: minor Version: 4.01.0 Category: ~DO NOT USE (was: OCaml general) Duplicate of:#5980
Bug description
$ ocaml -w A
OCaml version 4.01.0
module A = struct let x = 1 end;;
module A : sig val x : int end
let x = A.(x);;
val x : int = 1
let (x, y) = A.(x, 5);;
Warning 44: this open statement shadows the value identifier x (which is later used)
val x : int = 1
val y : int = 5
I expect second binding to not give warning, because there is no shadowing.
The text was updated successfully, but these errors were encountered:
Original bug ID: 6428
Reporter: Dmitry Grebeniuk
Assigned to: @gasche
Status: closed (set by @xavierleroy on 2015-12-11T18:27:03Z)
Resolution: duplicate
Priority: normal
Severity: minor
Version: 4.01.0
Category: ~DO NOT USE (was: OCaml general)
Duplicate of: #5980
Bug description
$ ocaml -w A
OCaml version 4.01.0
module A = struct let x = 1 end;;
module A : sig val x : int end
let x = A.(x);;
val x : int = 1
let (x, y) = A.(x, 5);;
Warning 44: this open statement shadows the value identifier x (which is later used)
val x : int = 1
val y : int = 5
I expect second binding to not give warning, because there is no shadowing.
The text was updated successfully, but these errors were encountered: