Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004904OCamlOCaml generalpublic2009-10-30 16:522013-09-17 15:11
Reporterlukstafi 
Assigned Togarrigue 
PrioritynormalSeverityfeatureReproducibilityalways
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0004904: Warn about repeated function arguments especially for optional arguments
DescriptionIf this feature is implemented, the warning should be on by default.

# let f ?(a=0) b ?(a=0) c = a+b+c;;
val f : ?a:int -> int -> ?a:int -> int -> int = <fun>
# f ~a:7 1 2;;
- : int = 3
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2009-10-30 16:52 lukstafi New Issue
2010-04-30 03:26 garrigue Status new => assigned
2010-04-30 03:26 garrigue Assigned To => garrigue


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker