google-code-export / umple

Automatically exported from code.google.com/p/umple
1 stars 0 forks source link

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

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by TimothyCLethbridge on 30 Jan 2013 at 1:24

GoogleCodeExporter commented 9 years ago

Original comment by RedEyedM...@gmail.com on 6 May 2013 at 5:10

GoogleCodeExporter commented 9 years ago

Original comment by TimothyCLethbridge on 12 Sep 2013 at 2:53

GoogleCodeExporter commented 9 years ago
Fixed as of r2956

Original comment by TimothyCLethbridge on 17 Sep 2013 at 1:48