Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004248OCamlCamlp4public2007-04-01 23:392010-04-29 14:18
ReporterMartin Jambon 
Assigned Toertai 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version3.10+dev 
Target VersionFixed in Version3.10+dev 
Summary0004248: Calls to "assert" are incorrectly pretty-printed
Description$ camlp4o -v
Camlp4 version 3.10.0+beta

$ cat toto.ml
let f x = x;;
f (f true);;
assert (f true);;

$ camlp4o -printer o toto.ml
let f x = x
let _ = f (f true)
let _ = assert f true

It should be:

let f x = x
let _ = f (f true)
let _ = assert (f true)
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0004000)
ertai (developer)
2007-04-02 09:47

Fixed in CVS.

Thanks for the report!

- Issue History
Date Modified Username Field Change
2007-04-01 23:39 Martin Jambon New Issue
2007-04-02 09:47 ertai Note Added: 0004000
2007-04-02 09:47 ertai Assigned To => ertai
2007-04-02 09:47 ertai Status new => resolved
2007-04-02 09:47 ertai Resolution open => fixed
2007-04-02 09:47 ertai Fixed in Version => 3.10+dev
2010-04-29 14:18 xleroy Status resolved => closed


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker