Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004911OCamlOCaml generalpublic2009-11-06 18:372009-12-08 17:50
Reporterfbesson 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version3.11.0 
Target VersionFixed in Version3.12.0+dev 
Summary0004911: weird behaviour of underscore in pattern matching
DescriptionHello,

The following code compiles nicely with 3.11.

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

It looks like a bug.

Regards,
--
Frédéric Besson
TagsNo tags attached.
Attached Files

- Relationships
duplicate of 0004675closed Compiler fails to warn about pattern Top _ when Top is a 0-ary constructor 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2009-11-06 18:37 fbesson New Issue
2009-11-06 19:02 doligez Relationship added duplicate of 0004675
2009-12-08 17:50 doligez Status new => closed
2009-12-08 17:50 doligez Resolution open => fixed
2009-12-08 17:50 doligez Fixed in Version => 3.12.0+dev


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker