[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 04:12:04 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9879
Kenji Hara <k.hara.pg at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #3 from Kenji Hara <k.hara.pg at gmail.com> 2013-04-05 04:12:03 PDT ---
(In reply to comment #2)
> 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.
OK, It makes sense. Thanks.
--
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