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

Assertion failure in camlp4 on invalid code #6278

Closed
vicuna opened this issue Dec 18, 2013 · 2 comments
Closed

Assertion failure in camlp4 on invalid code #6278

vicuna opened this issue Dec 18, 2013 · 2 comments

Comments

@vicuna
Copy link

vicuna commented Dec 18, 2013

Original bug ID: 6278
Reporter: @whitequark
Assigned to: @diml
Status: closed (set by @diml on 2013-12-20T08:43:08Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 4.01.0
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues
Monitored by: @gasche

Bug description

Actual result:
Assertion failed, file "camlp4/Camlp4/Struct/Camlp4Ast2OCamlAst.ml", line 284, char 8

Expected result:
Syntax error

Steps to reproduce

echo "let foo a : type a. a = assert false ;;" >test.ml
camlp4 -parser o -printer p test.ml

@vicuna
Copy link
Author

vicuna commented Dec 19, 2013

Comment author: @diml

Indeed.

Could you reopen this ticket on github? Camlp4 is now an external project, hosted here:

https://github.com/ocaml/camlp4

thanks

@vicuna
Copy link
Author

vicuna commented Dec 19, 2013

Comment author: @whitequark

Done

@vicuna vicuna closed this as completed Dec 20, 2013
@vicuna vicuna added the camlp4 label Mar 14, 2019
@vicuna vicuna assigned ghost Mar 14, 2019
@vicuna vicuna added the bug label Mar 20, 2019
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