https://d.puremagic.com/issues/show_bug.cgi?id=12120
Summary: Static opCall for structures skipped (Github HEAD)
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: regression
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Puneet Goel <[email protected]> 2014-02-09 10:32:02 PST
---
Here is the reduced code.
struct Foo {
this(int) {}
static Foo opCall() {
import std.stdio;
writeln("opCall");
Foo foo = Foo(0);
return foo;
}
}
void main() {
Foo foo = Foo();
}
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------