Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calls to "assert" are incorrectly pretty-printed #4248

Closed
vicuna opened this issue Apr 1, 2007 · 1 comment
Closed

Calls to "assert" are incorrectly pretty-printed #4248

vicuna opened this issue Apr 1, 2007 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Apr 1, 2007

Original bug ID: 4248
Reporter: @mjambon
Assigned to: ertai
Status: closed (set by @xavierleroy on 2010-04-29T12:18:12Z)
Resolution: fixed
Priority: normal
Severity: major
Version: 3.10+dev
Fixed in version: 3.10+dev
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues

Bug 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)

@vicuna
Copy link
Author

vicuna commented Apr 2, 2007

Comment author: ertai

Fixed in CVS.

Thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant