[Issue 3273] New: struct invariant + dtor fails to compile (no line number)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Aug 30 06:26:18 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3273
Summary: struct invariant + dtor fails to compile (no line
number)
Product: D
Version: 2.031
Platform: All
OS/Version: All
Status: NEW
Keywords: rejects-valid
Severity: regression
Priority: P3
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: 2korden at gmail.com
The following is a minimal test-case to reproduce the bug:
module A;
struct A {
~this() {
}
invariant() {
}
}
> dmd A
Error: __result = this is not an lvalue
Note that this is a regression since DMD2.030 successfully compiled the code
above.
--
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