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: 5722 Reporter:@ygrek Assigned to:@garrigue Status: closed (set by @xavierleroy on 2015-12-11T18:07:58Z) Resolution: fixed Priority: normal Severity: feature Version: 4.00.0 Fixed in version: 4.01.0+dev Category: ~DO NOT USE (was: OCaml general) Monitored by:@bobzhang@hcarty
Bug description
Consider :
module X = struct type t = { a : int; b : int; c : Complex.t; } end;;
This is perfectly reasonable, as record parsing allows qualifying only one of the labels.
And the patch is wonderfully short.
I plan to apply it immediately to trunk.
Shall we use it in 4.00 too ?
The only side-effect I foresee may be some change in test outputs.
Original bug ID: 5722
Reporter: @ygrek
Assigned to: @garrigue
Status: closed (set by @xavierleroy on 2015-12-11T18:07:58Z)
Resolution: fixed
Priority: normal
Severity: feature
Version: 4.00.0
Fixed in version: 4.01.0+dev
Category: ~DO NOT USE (was: OCaml general)
Monitored by: @bobzhang @hcarty
Bug description
Consider :
module X = struct type t = { a : int; b : int; c : Complex.t; } end;;
Currently:
{ X.a = 1; b = 2; c = Complex.one; };;
With the patch :
{ X.a = 1; b = 2; c = Complex.one; };;
Additional information
The reason for this simple patch is to improve readability especially for deeply nested modules
File attachments
The text was updated successfully, but these errors were encountered: