[Issue 9879] Built-in sizeof should return ErrorExp if error occurs in aggregate type semantics

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 5 03:58:03 PDT 2013


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



--- Comment #2 from Don <clugdbug at yahoo.com.au> 2013-04-05 03:58:02 PDT ---
This behaviour is intentional.

Although there is an error in a function declared in A, the size of A is still
known.

Just as an error inside a function definition doesn't make the type of the
function unknown.

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