Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005881OCamlOCaml documentationpublic2013-01-10 06:252013-01-10 07:55
Reporternorm 
Assigned Togarrigue 
PrioritynormalSeverityminorReproducibilityN/A
StatusresolvedResolutionno change required 
PlatformMacOSOS XOS Version10.7.5
Product Version4.00.1 
Target VersionFixed in Version 
Summary0005881: -rectypes no longer required, Manual lags.
DescriptionThe code below works. I think that it once required ocaml -rectypes. The manual says that it is still required. The manual and 4.00.1 OCaml are out of sync. I suppose that the option should be retained but described as vestigial.
Steps To Reproducetype 'a lst = NIL | C of 'a * 'a lst;;
C (3.3, C (2.3, NIL));;
Additional InformationSee http://cap-lore.com/Languages/ocaml/bugs/f.html [^]
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0008731)
garrigue (manager)
2013-01-10 07:55

There is a misunderstanding here.
The term "recursive type" stands for a structural recursive type,
such as ((int * 'a) as 'a). Such type requires the -rectypes flag.
This is not to be confused with recursive datatypes, which are
part of the original language specification, and of course require
no specific flag.

- Issue History
Date Modified Username Field Change
2013-01-10 06:25 norm New Issue
2013-01-10 07:55 garrigue Note Added: 0008731
2013-01-10 07:55 garrigue Status new => resolved
2013-01-10 07:55 garrigue Resolution open => no change required
2013-01-10 07:55 garrigue Assigned To => garrigue


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker