http://d.puremagic.com/issues/show_bug.cgi?id=4499
Summary: calls to @disabled postblit are emitted Product: D Version: D2 Platform: Other OS/Version: Linux Status: NEW Keywords: accepts-invalid Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: kamm-removet...@incasoftware.de --- Comment #0 from Christian Kamm <kamm-removet...@incasoftware.de> 2010-07-23 23:55:37 PDT --- The following code triggers the "can't happen" assert. struct S { @disable this(this) { assert(false, "can't happen"); } void foo() {} } auto foo() { S s; return s; } void main() { auto s = foo(); s.foo(); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------