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

bad error message #3350

Closed
vicuna opened this issue May 12, 2002 · 2 comments
Closed

bad error message #3350

vicuna opened this issue May 12, 2002 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented May 12, 2002

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

Bug description

Full_Name: Sami Mäkelä
Version: 3.04
OS: Linux
Submission from: cache-utu-a-rtr.utu.fi (130.232.202.238)

    Objective Caml version 3.04

type x = int -> int;;

type x = int -> int

let z : x = fun x -> x+1;;

val z : x =

z 1 2;;

Toplevel input:

z 1 2;;

^
This expression is not a function, it cannot be applied

Not a big problem, but sometimes it might be hard to figure out.

@vicuna
Copy link
Author

vicuna commented May 13, 2002

Comment author: administrator

Fixed by Jacques on 2002-05-13

@vicuna vicuna closed this as completed May 13, 2002
@vicuna
Copy link
Author

vicuna commented May 13, 2002

Comment author: administrator

Full_Name: Sami Mäkelä
Version: 3.04

type x = int -> int;;

type x = int -> int

let z : x = fun x -> x+1;;

val z : x =

z 1 2;;

Toplevel input:

z 1 2;;

^
This expression is not a function, it cannot be applied

Not a big problem, but sometimes it might be hard to figure out.

Right. This minor bug is now fixed.

Jacques

@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