Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interface implmentation void function returns null and so won't compile #272

Closed
Nava2 opened this issue Aug 26, 2015 · 3 comments
Closed
Assignees
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

Comments

@Nava2
Copy link
Contributor

Nava2 commented Aug 26, 2015

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

@Nava2
Copy link
Contributor Author

Nava2 commented Aug 26, 2015

Reported by redeyedmars on 2013-05-06 17:10:59

  • Owner removed
  • Labels removed: ucosp

@Nava2 Nava2 added Type-Defect Priority-High This problem or enhancement is likely to be highly visible and or impactful of users Status-Verified 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 ucosp Suitable for 4th year capstone projects interfaces labels Aug 26, 2015
@Nava2
Copy link
Contributor Author

Nava2 commented Aug 26, 2015

Reported by @umple on 2013-09-12 14:53:55

  • Labels added: ucosp

@Nava2
Copy link
Contributor Author

Nava2 commented Aug 26, 2015

Fixed as of r2956


Reported by @umple on 2013-09-17 13:48:14

  • Owner changed: @jaysee314
  • Status changed: Verified

@Nava2 Nava2 closed this as completed Aug 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants