January 23, 2009 [Issue 2605] New: Null literal is not implicitly castable to const return type | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=2605 Summary: Null literal is not implicitly castable to const return type Product: D Version: 2.023 Platform: PC OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: samukha@voliacable.com class C {} const(C) foo() { return null; } Error: e2ir: cannot cast from void* to const(C) -- |
May 13, 2009 [Issue 2605] Null literal is not implicitly castable to const return type | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2605 Gide Nwawudu <gide@nwawudu.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |gide@nwawudu.com Resolution| |WORKSFORME --- Comment #1 from Gide Nwawudu <gide@nwawudu.com> 2009-05-13 06:35:09 PDT --- Works in DMD 2.030. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation