http://d.puremagic.com/issues/show_bug.cgi?id=9081
Summary: Modules shouldn't have a type
Product: D
Version: D1 & D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Don <[email protected]> 2012-11-26 06:34:41 PST ---
Currently packages and modules have type 'void', which makes no sense. They
should have type _error. The following code should compile.
---
import std.stdio;
static assert( !is(typeof(std)) );
---
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------