[Issue 3229] No return or assert(0) at end of function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Aug 5 16:53:48 PDT 2009


--- Comment #2 from Jason House <jason.james.house at gmail.com>  2009-08-05 16:53:47 PDT ---
Your wish is my demand!

int main(){
  enum foo{ bar };
  foo x;
  final switch(x){ case foo.bar: return 0; }

buggy.d(1): Error: function main.main no return exp; or assert(0); at end of

Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

More information about the Digitalmars-d-bugs mailing list