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: 5835 Reporter: elnatan Assigned to:@garrigue Status: closed (set by @garrigue on 2012-12-27T03:16:34Z) Resolution: fixed Priority: normal Severity: minor Version: 3.12.0 Fixed in version: 4.01.0+dev Category: ~DO NOT USE (was: OCaml general)
Bug description
I was surprised to find that the following works. I would have expected an error of some kind.
let f ~x = x + 1;;
let _ = f ?x:0;;
Is this a bug or a feature?
The text was updated successfully, but these errors were encountered:
Replaced the error by a warning, as this appears to break lots of code, and this is only a question of principality of inference (there is no semantical problem).
Committed in trunk, revision 13298.
(Also fixed lablgtk, of course; thanks for the report)
Original bug ID: 5835
Reporter: elnatan
Assigned to: @garrigue
Status: closed (set by @garrigue on 2012-12-27T03:16:34Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.12.0
Fixed in version: 4.01.0+dev
Category: ~DO NOT USE (was: OCaml general)
Bug description
I was surprised to find that the following works. I would have expected an error of some kind.
let f ~x = x + 1;;
let _ = f ?x:0;;
Is this a bug or a feature?
The text was updated successfully, but these errors were encountered: