[Issue 9081] New: Modules shouldn't have a type
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Nov 26 06:34:43 PST 2012
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: nobody at puremagic.com
ReportedBy: clugdbug at yahoo.com.au
--- Comment #0 from Don <clugdbug at yahoo.com.au> 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: -------
More information about the Digitalmars-d-bugs
mailing list