[Issue 4494] ICE(cod1.c) Array literal filled with results of void function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Apr 11 14:48:34 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=4494



--- Comment #3 from Iain Buclaw <ibuclaw at ubuntu.com> 2011-04-11 14:44:50 PDT ---
Maybe

  if (type->nextOf()->ty == Tvoid)
      error("%s of type void[] has no value", toChars());


Is a better error message (I really am no good at writing them :)

-- 
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