Interface implmentation void function returns null and so won't compile #272
Labels
Component-SemanticsAndGen
Related to code generators in general and the meaning of Umple models
Diffic-Easy
Should be obvious how to fix it and doable in less than a week by an experienced Umple developer
interfaces
Priority-High
This problem or enhancement is likely to be highly visible and or impactful of users
Status-Verified
Type-Defect
ucosp
Suitable for 4th year capstone projects
Originally reported on Google Code with ID 373
Owned by @jaysee314
What steps will reproduce the problem?
Compile the following using the option -c - to compile the result
interface ChatIF {
void display();
}
class ClientConsole {
isA ChatIF;
// Console UI. Code for display would be required.
}
What is the expected output? What do you see instead?
It should compile, but there is a generated 'return null' which should be 'return'
Please use labels and text to provide additional information.
Reported by @umple on 2013-01-30 13:24:50
The text was updated successfully, but these errors were encountered: