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

Problème de localisation des erreurs avec Camlp4 #4314

Closed
vicuna opened this issue Jun 12, 2007 · 1 comment
Closed

Problème de localisation des erreurs avec Camlp4 #4314

vicuna opened this issue Jun 12, 2007 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Jun 12, 2007

Original bug ID: 4314
Reporter: @alainfrisch
Assigned to: ertai
Status: closed (set by @xavierleroy on 2010-04-29T12:25:49Z)
Resolution: fixed
Priority: normal
Severity: minor
Fixed in version: 3.11+dev
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues

Bug description

Soit l'expression mal typée

(int_of_string "1" : unit)

Si l'on preprocesse avec Camlp4, l'erreur:

This expression has type int but is here used with type unit

pointe sur la sous-expression "1" (ie l'argument de l'application et non l'application elle-même).

@vicuna
Copy link
Author

vicuna commented Oct 3, 2008

Comment author: ertai

This is now fixed in the CVS HEAD version.

Thank to Jerome Vouillon for finding the cause of the bug!

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