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

weird behaviour of underscore in pattern matching #4911

vicuna opened this Issue Nov 6, 2009 · 0 comments


None yet
1 participant
Copy link

commented Nov 6, 2009

Original bug ID: 4911
Reporter: fbesson
Status: closed (set by @damiendoligez on 2009-12-08T16:50:47Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.11.0
Fixed in version: 3.12.0+dev
Category: ~DO NOT USE (was: OCaml general)
Duplicate of: #4675

Bug description


The following code compiles nicely with 3.11.

type t = X
let f = function X _ -> ()

It looks like a bug.


Frédéric Besson

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.