https://d.puremagic.com/issues/show_bug.cgi?id=12041
Summary: No file+line and strange diagnostic when instantiating
WhiteHole
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: diagnostic
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Andrej Mitrovic <[email protected]> 2014-01-30
02:01:44 PST ---
Phobos has been emitting this diagnostic lately, the reduced case is:
-----
import std.typecons;
interface I
{
void bar() nothrow;
}
void main()
{
new WhiteHole!I;
}
-----
$ dmd test.d
> Warning: WhiteHole!(I) used assert(0) instead of Error for the
> auto-implemented nothrow function I.bar
There is no file+line info, and I don't understand the diagnostic at all?
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------