| Anonymous | Login | Signup for a new account | 2013-06-19 09:58 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||
| 0004331 | OCaml | Camlp4 | public | 2007-06-29 02:14 | 2010-04-29 14:26 | |||
| Reporter | yallop | |||||||
| Assigned To | ertai | |||||||
| Priority | normal | Severity | minor | Reproducibility | always | |||
| Status | closed | Resolution | fixed | |||||
| Platform | OS | OS Version | ||||||
| Product Version | 3.10.0 | |||||||
| Target Version | Fixed in Version | 3.10+dev | ||||||
| Summary | 0004331: camlp4o can't parse guards on "fun" expressions | |||||||
| Description | Here's the problem: $ cat test.ml let _ = fun x when x > 3 -> 2 $ ocamlc test.ml File "test.ml", line 1, characters 8-29: Warning X: bad style, all clauses in this pattern-matching are guarded. $ camlp4of test.ml File "test.ml", line 1, characters 14-18: Parse error: [fun_def] expected after [labeled_ipatt] (in [expr]) | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Notes |
|
|
(0004359) ertai (developer) 2007-11-27 14:35 |
Thanks for the report. This is now fixed in the CVS (both in trunk and release310 branch). |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2007-06-29 02:14 | yallop | New Issue | |
| 2007-11-10 15:02 | xleroy | Status | new => assigned |
| 2007-11-10 15:02 | xleroy | Assigned To | => ertai |
| 2007-11-27 14:35 | ertai | Note Added: 0004359 | |
| 2007-11-27 14:35 | ertai | Status | assigned => resolved |
| 2007-11-27 14:35 | ertai | Resolution | open => fixed |
| 2007-11-27 14:35 | ertai | Fixed in Version | => 3.10+dev |
| 2010-04-29 14:26 | xleroy | Status | resolved => closed |
| Copyright © 2000 - 2011 MantisBT Group |