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

# dans le toplevel #3593

Closed
vicuna opened this issue Apr 14, 2005 · 1 comment
Closed

# dans le toplevel #3593

vicuna opened this issue Apr 14, 2005 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Apr 14, 2005

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

Bug description

Hello,

Le # a un comportement bizarre lorsqu'il n'est pas suivi d'un
identificateur (le reste de la ligne est ignoré):

let f x = x # 3 # bla !!;;

2;;

4;;
val f : (int -> 'a) -> 'a =

-- Alain

@vicuna
Copy link
Author

vicuna commented Apr 14, 2005

Comment author: administrator

Le # a un comportement bizarre lorsqu'il n'est pas suivi d'un
identificateur (le reste de la ligne est ignoré):

let f x = x # 3 # bla !!;;

2;;

4;;
val f : (int -> 'a) -> 'a =

C'est pas un bug, c'est le parsing des "line number directives", documentees
dans la derniere section de
< http://caml.inria.fr/pub/docs/manual-ocaml/manual009.html >.

Ce qui n'est pas documente (mais qui est fait expres), c'est qu'une
directive peut etre suivie de caracteres quelconques, qui sont ignores.

-- Damien

@vicuna vicuna closed this as completed Apr 14, 2005
@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