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

camlp4o et les labels #8268

Closed
vicuna opened this issue Sep 5, 2003 · 1 comment
Closed

camlp4o et les labels #8268

vicuna opened this issue Sep 5, 2003 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Sep 5, 2003

Original bug ID: 1818
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

camlp4o ne semble pas traiter correctement les parametres etiquettes
abbreges.

    Camlp4 Parsing version 3.07+beta 2

let f ~age ~name : string * int = age, name;;

                        ^

Parse error: [fun_binding] expected after [labeled_patt] (in [fun_binding])

Curieusement, il ne semble pas traiter ~name: comme un lexeme, ce qui
est necessaire pour desambiguer ce cas.
Le meme problemes se pose avec les classes:
class person' ~name ~age : person = ...

Jacques

@vicuna
Copy link
Author

vicuna commented Sep 25, 2003

Comment author: administrator

Fixed by MM, 2003/09/25

@vicuna vicuna closed this as completed Sep 25, 2003
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant