[Issue 10479] New: cannot pass implicitly to base class casted result to out contract by ref
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jun 26 10:31:04 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10479
Summary: cannot pass implicitly to base class casted result to
out contract by ref
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: henning at still-hidden.de
--- Comment #0 from Henning Pohl <henning at still-hidden.de> 2013-06-26 10:31:03 PDT ---
class B {
B foo()
out { } body {
return null;
}
}
class D : B {
override D foo() {
return null;
}
}
-----
main.d(9): Error: cast(const(B))__result is not an lvalue
-----
--
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