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

copy pasting weirdness in OCaml (Windows) #8313

Closed
vicuna opened this issue Oct 3, 2003 · 1 comment
Closed

copy pasting weirdness in OCaml (Windows) #8313

vicuna opened this issue Oct 3, 2003 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Oct 3, 2003

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

Bug description

Full_Name: Christian Skalka
Version: OCaml Windows interface 2.0
OS: Windows
Submission from: 132.198.10.25 (132.198.10.25)

If I write a multi-line function with a match expression beginning on the
first line in the Windows interface, copy-pasting a syntactically correct
function causes a syntax error in the copy pasted version. Here, for example,
are two identical function definitions and the interpreter's response, the
second definition having been copy-pasted from the first:

let f x = match x with

0 -> 0

| _ -> 1;;
val f : int -> int =

let f x = match x with

0 -> 0

| _ -> 1;;
Characters 2-3:
| _ -> 1;;
^
Syntax error

@vicuna
Copy link
Author

vicuna commented Jun 22, 2004

Comment author: administrator

Works fine with the new OCamlWinPlus interface (pre-3.08)

@vicuna vicuna closed this as completed Jun 22, 2004
@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