Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006408OCaml~DO NOT USE (was: OCaml general)public2014-05-09 03:542014-05-16 17:58
Reportermkoconnor 
Assigned To 
PrioritylowSeveritytextReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version4.02.0+dev 
Summary0006408: Optional arguments given as ~?arg instead of ?arg in message
DescriptionIn code such as below a function's incorrect optional argument is reported in the error message as ~?arg instead of ?arg.
Steps To Reproduce        OCaml version 4.01.0

# (fun (_ : (x:unit -> unit)) -> ()) (fun ?x:_ -> ());;
Error: This function should have type x:unit -> unit
       but its first argument is labelled ~?x
TagsNo tags attached.
Attached Filespatch file icon fix-labelled-argument-message.patch [^] (1,833 bytes) 2014-05-09 03:54 [Show Content]

- Relationships

-  Notes
(0011498)
doligez (administrator)
2014-05-16 17:58

Thanks for the patch, I applied it in branch 4.02 (commits 14882 and 14883)

- Issue History
Date Modified Username Field Change
2014-05-09 03:54 mkoconnor New Issue
2014-05-09 03:54 mkoconnor File Added: fix-labelled-argument-message.patch
2014-05-16 17:58 doligez Note Added: 0011498
2014-05-16 17:58 doligez Status new => closed
2014-05-16 17:58 doligez Resolution open => fixed
2014-05-16 17:58 doligez Fixed in Version => 4.02.0+dev
2017-02-23 16:36 doligez Category OCaml general => -OCaml general
2017-03-03 17:55 doligez Category -OCaml general => -(deprecated) general
2017-03-03 18:01 doligez Category -(deprecated) general => ~deprecated (was: OCaml general)
2017-03-06 17:04 doligez Category ~deprecated (was: OCaml general) => ~DO NOT USE (was: OCaml general)


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker