[Issue 12860] REG 2.065: typeid(_error_) symbols leaked to backend

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jun 6 01:08:41 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=12860

--- Comment #4 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to Kenji Hara from comment #2)
> Is this correct test case?
> 
> // from runnable/testconst.d, generating wrong TypeInfo from 2.065
> void test83(/*inout(int) _ = 0*/)
> {
>     static assert(!__traits(compiles, typeid(inout(int*) function(int))));
> }

Yes, I believe it happens for all !__traits(compiles) tests in that function.
Not just that particular line (ie: delegate(int))

--


More information about the Digitalmars-d-bugs mailing list