| Anonymous | Login | Signup for a new account | 2010-09-09 04:28 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 | |
| 0004535 | Clover Designer | (No Category) | public | 2010-07-13 16:11 | 2010-08-20 11:13 | |
| Reporter | pnajvar | |||||
| Assigned To | mzatopek | |||||
| Priority | normal | Severity | text | Reproducibility | have not tried | |
| Status | closed | Resolution | fixed | |||
| Platform | OS | OS Version | ||||
| Product Version | ||||||
| Target Version | rel-3-0-0 | Fixed in Version | rel-3-0-0 | |||
| Summary | 0004535: CTL2: Misleading syntax error message when "return" statement is missing | |||||
| Description | Please see attached screenshot - when a "non-void" function has no return statement, a misleading error message is shown and function declaration is underlined as error. "Function must return a result of type 'integer'" -> "Missing 'return' statement (integer)" | |||||
| Tags | No tags attached. | |||||
| OTRS_Ticket_ID | ||||||
| Time estimate (manhours) | ||||||
| Time duration (manhours) | ||||||
| Completion status | 10 | |||||
| Attached Files | ||||||
Notes |
|
|
(0008432) jlehotsky (manager) 2010-07-14 19:55 |
I don't see a problem in the original message, in Java, it's the same and it clearly states the function must return something. (Anyway, "Missing return" is not exactly the right message I think, as there are more ways to exit the function - raise_error,..) |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2010-07-13 16:11 | pnajvar | New Issue | |
| 2010-07-13 16:11 | pnajvar | Status | new => assigned |
| 2010-07-13 16:11 | pnajvar | Assigned To | => mzatopek |
| 2010-07-13 16:11 | pnajvar | File Added: CropperCapture[66].png | |
| 2010-07-13 16:12 | pnajvar | Description Updated | View Revisions |
| 2010-07-13 16:58 | mzatopek | Status | assigned => resolved |
| 2010-07-13 16:58 | mzatopek | Fixed in Version | => rel-3-0-0 |
| 2010-07-13 16:58 | mzatopek | Resolution | open => fixed |
| 2010-07-14 12:54 | pnajvar | Relationship added | has duplicate 0004536 |
| 2010-07-14 13:01 | pnajvar | Relationship deleted | has duplicate 0004536 |
| 2010-07-14 13:01 | pnajvar | Relationship added | has duplicate 0004536 |
| 2010-07-14 19:55 | jlehotsky | Note Added: 0008432 | |
| 2010-08-20 11:13 | twaller | Status | resolved => closed |
| Copyright © 2000 - 2010 MantisBT Group |