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

about 'a exceptions #4179

Closed
vicuna opened this Issue Nov 30, 2006 · 0 comments

Comments

Projects
None yet
1 participant
@vicuna
Copy link
Collaborator

vicuna commented Nov 30, 2006

Original bug ID: 4179
Reporter: smimram
Status: closed (set by @garrigue on 2006-11-30T23:39:24Z)
Resolution: fixed
Priority: normal
Severity: major
Version: 3.09.2
Fixed in version: 3.09.3
Category: ~DO NOT USE (was: OCaml general)
Duplicate of: #4002
Monitored by: smimram

Bug description

It looks like the following breaks the type system.

exception E of _;;

exception E of 'a

let magic x = try raise (E x) with E x -> x;;

val magic : 'a -> 'b =

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.