https://d.puremagic.com/issues/show_bug.cgi?id=12316
Summary: GIT HEAD: AA.get broken for Object VAL types
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-03-08 07:53:09 PST
---
Error: cannot implicitly convert expression (defVal) of type object.Object to
inout(Object)
void main() {
Object defObj = null;
Object[int] foo;
auto frop = foo.get(0, null); // compiles fine
auto bar = foo.get(0, defObj); // error
}
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------