Summary: | Must return result error could be more accurate | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Jerome Lanneluc <jerome_lanneluc> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | bob |
Version: | 2.1 | ||
Target Milestone: | 2.1 M5 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Jerome Lanneluc
2002-11-28 07:28:39 EST
Alternatively, it could simply report this against the method, like we do for unassigned blank fields. No more complaining against last statement if any. The method is simply blamed (like we did if it had no statement). Fixed *** Bug 29343 has been marked as a duplicate of this bug. *** Still visually confusing. The method signature is not in error. Flagging the closing right brace nearest to the problem would be less confusing and way less obtrusive. Verified. Now that I see the result in RC2, I realize that I was wrong but so is the current "fix". Obviously, it is the return type that should be highlighted. I don't agree on this. The method has a problem, not the return type. The problem in the method is it does not respect the return type. |