[Issue 2283] New: protection attributes are not respected for struct opAssign
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Aug 14 07:59:48 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2283
Summary: protection attributes are not respected for struct
opAssign
Product: D
Version: unspecified
Platform: PC
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: 2korden at gmail.com
struct Test {
int i;
private void opAssign(int i) {
this.i = i;
}
}
void main() {
Test test;
test = 42; // accepted
}
--
More information about the Digitalmars-d-bugs
mailing list