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

bug in type numbering? ('a, 'b, 'c, 'd,...) #3567

Closed
vicuna opened this issue Mar 30, 2005 · 1 comment
Closed

bug in type numbering? ('a, 'b, 'c, 'd,...) #3567

vicuna opened this issue Mar 30, 2005 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Mar 30, 2005

Original bug ID: 3567
Reporter: administrator
Status: closed (set by @garrigue on 2010-04-30T06:05:55Z)
Resolution: fixed
Priority: normal
Severity: minor
Fixed in version: 3.10.0
Category: ~DO NOT USE (was: OCaml general)
Monitored by: marc

Bug description

Full_Name: Marc Herbert
Version: 3.08.2
OS: linux
Submission from: lns-vlq-37-lyo-82-253-101-87.adsl.proxad.net (82.253.101.87)

I find the following error message very confusing

class ['a] someclass x_init =
object
val x = x_init
method get = x
end;;

Some type variables are unbound in this type:
class ['a] cltest : 'b -> object val x : 'b method get : 'b end
The method get has type 'a where 'a is unbound

In the second line, get has type 'b, but then get has type 'a in the third
line.

@vicuna
Copy link
Author

vicuna commented Apr 30, 2010

Comment author: @garrigue

Actually, I don't remember exactly when it was fixed...

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