Issue Details (XML | Word | Printable)

Key: FDT-2638
Type: Bug Bug
Status: Closed Closed
Resolution: none
Priority: Minor Minor
Assignee: FDT Team
Reporter: Panel
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
FDT

Add error for 'Function does not return a value'

Created: 12/Mar/12 12:23 PM   Updated: 15/Nov/12 03:39 PM
Component/s: Core (Deprecated) , Editor (Deprecated), Parser
Affects Version/s: FDT 5.0
Fix Version/s: None
Security Level: public

Time Tracking:
Not Specified

Review Type: Review by Product Owner


 Description  « Hide
private function test():String
{
	return; //compiler error Function does not return a value.
}


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Alan K (Deprecated) added a comment - 12/Mar/12 02:28 PM
This is actually a bug. Whenever the parser does not represent the compiler, it's a bug.

Panel added a comment - 12/Mar/12 02:37 PM
OK, I'll keep it in mind

Panel added a comment - 14/Mar/12 12:03 PM - edited
Another case
override public function getLastItem():Object
		{
			super.getLastItem();
		}

FDT Team added a comment - 15/Nov/12 03:37 PM
Fixed for next release: Nov 15