http://d.puremagic.com/issues/show_bug.cgi?id=8220
Summary: invalid function call not detected during semantic
analysis
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from [email protected] 2012-06-11 06:54:29 PDT ---
DMD 2.059:
void foo(int){}
static assert(!__traits(compiles,foo(typeof(0)))); // fail
The static assertion should pass.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------