| Anonymous | Login | Signup for a new account | 2013-05-21 15:21 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 | |||
| 0004970 | OCaml | OCaml general | public | 2010-02-04 09:25 | 2010-02-04 10:10 | |||
| Reporter | turpin | |||||||
| Assigned To | ||||||||
| Priority | normal | Severity | tweak | Reproducibility | have not tried | |||
| Status | closed | Resolution | fixed | |||||
| Platform | OS | OS Version | ||||||
| Product Version | 3.11.0 | |||||||
| Target Version | Fixed in Version | 3.11.2+dev | ||||||
| Summary | 0004970: instance variables masked by values | |||||||
| Description | The following error seems surprising to me. The error message at least is perfectible. In fact, I even expected the x to be still visible as a field (thus making this example legal) but maybe this would bee too confusing. class c = object val mutable x = () method set = let x = () in x <- x end;; Error: Unbound instance variable x | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Notes |
|
|
(0005238) garrigue (manager) 2010-02-04 10:10 |
Fixed the error message. Indeed this was a bad example of reusing an error message for a different problem... |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2010-02-04 09:25 | turpin | New Issue | |
| 2010-02-04 10:10 | garrigue | Note Added: 0005238 | |
| 2010-02-04 10:10 | garrigue | Status | new => closed |
| 2010-02-04 10:10 | garrigue | Resolution | open => fixed |
| 2010-02-04 10:10 | garrigue | Fixed in Version | => 3.11.2+dev |
| Copyright © 2000 - 2011 MantisBT Group |